-
-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving server performance #543
Conversation
@@ -607,11 +603,6 @@ esbuild: | |||
DevMode: task.DevMode, | |||
} | |||
subTask.treeShaking = newStringSet() | |||
_, err = subTask.build(tracing) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep this, build sub-modules from scratch is slow even you keep the lock
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it will block the response, I think we can pre-build sub-modules while the main module build done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you sure the final import time is optimized if build sub-modules from request? if yes, try to increase the timeout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems the timeout problem may be due to locks, the tfjs pkg will show the problem, debugging
@ije I fixed the import problems. All tests will spend |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please remove the buildConcurrency
of config then check the test time again?
looks great! |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great job!
No description provided.