-
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
Not all assert calls are being removed from v0.js by babel transforms #23960
Comments
This is still an issue. Reopening based on the discussion at #24047 (comment) |
@erwinmombay is this issue still relevant? |
Yes, this is still relevant, and is the only thing that's blocking #24047. Start reading from #24047 (comment) for the latest status. /cc @kristoferbaxter who is waiting on #24047 to be merged in order to fix a concurrency bug with our custom closure compiler runner. |
@jridgewell @erwinmombay Can we prioritize this fix and unblock #24047? Our inability to remove |
I’m out on paternity leave, but started work on a refactor of the Babel transforms necessary to complete this transition. Note, once complete you can use the async pool implementation (used internally in filesize and open sourced separately) and remove nailgun. Those combined improve compilation times for everyone significantly. All together on a sample machine it was a 12x reduction in build time. An additional optimization to finish later would be to request the compilation of all resources together as a complete array instead of extensions separately from runtime. |
Reopening due to non-trivial diffs in extension code, leading to test failures: #24047 (comment) |
#23377 updated the babel transforms to remove
assert
calls. This should have paved the way for the removal ofAmpPass.java
from the custom closure compiler runner. However, removingAmpPass.java
increases the number of instances ofassert
inv0.js
from 20 to 80.Before removing
AmpPass.java
: 20 instancesAfter removing
AmpPass.java
: 80 instancesSee discussion at #23377 (comment)
The text was updated successfully, but these errors were encountered: