-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Significantly speed up gulp dist
#10277
Comments
Note to self: given the huge difference in the build times on Travis vs. local machines, it might be worth doing some fine grained profiling of the build to see if there are any steps in particular that take significantly longer on Travis. |
Next step: Enable build logging on Travis and see if there's any step that takes a particularly long time. |
@erwinmombay @cramforce @choumx: I did a fine grained build time measurement of |
Good news. With #10785 being fixed, we now run integration and unit tests on Travis for every PR that touches the runtime, and the entire cycle takes 25 minutes CPU time / 13 mins wall clock time. We still run |
@erwinmombay, I remember you mentioning that we can speed up Is there an issue tracking this? Is it worth looking into afresh this quarter? /cc @cramforce @choumx |
yes i am looking into this bug: where splittable blows up on a dependency that does not export anything reduction: |
Two ways to fix:
This is a bug in CC, of course. |
This issue hasn't been updated in awhile. @erwinmombay Do you have any updates? |
@erwinmombay Any updates on the work you were doing to speed up |
Accidental close. |
Sheesh, |
gulp dist
on Travisgulp dist
on Travis by doing a single pass of closure compiler
@erwinmombay before shipping this, we'll need to do the effort of copying over |
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
5 similar comments
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
This is a high priority issue but it hasn't been updated in awhile. @erwinmombay Do you have any updates? |
gulp dist
on Travis by doing a single pass of closure compilergulp dist
Dusting off this really old (and still important) issue. (Today, I have a new approach under development, which switches to a single invocation of closure compiler, but still does multiple passes. This is enabled by https://github.com/facebook/nailgun. Stay tuned for a PR and new numbers. |
New numbers look good: #21939 (comment) Happy to have finally closed this issue 😃 |
The build command we run on Travis before running integration tests is
node_modules/gulp/bin/gulp.js dist --fortesting
. This currently takes more than 13 minutes on Travis, while it takes only ~3 minutes on my linux workstation and macbook pro.This issue is to track the compiler work that's being done to speed up the build. Doing so will enable us to turn on integration testing for all PRs, and help keep master green while not overwhelming the Travis build queue.
The text was updated successfully, but these errors were encountered: