-
Notifications
You must be signed in to change notification settings - Fork 12k
Perf regression in @ngtools/webpack 8.0.2 #14719
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
Comments
Hi, can you confirm if the rebuilds increase only when the previous compilation had an error, or the increase is constant for you? Thanks. |
The increase is constant for me, every compilation previously succeeded without error. |
Thanks for the info. That is strange cause that flag should get set to false upon a successful build and true upon an invalid build. I’ll try to look at it tomorrow and see if I am able to replicate. |
Sweet, thanks! Let me know if you can't reproduce and I'll debug locally to see why that flag's being set to true. |
Thanks for fixing this so fast! 😄 |
The fix does not look perfect, see #14775 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: 8.0.1Description
When upgrading to the latest cli I noticed that our local rebuild times in JIT went from ~7s to ~24s. I managed to narrow it down to this commit: d61b252 Manually reverting in the source of ngtools/webpack and the re-build times went back to normal
🔬 Minimal Reproduction
Sorry I can't really share our repo, but I hope that it's enough to identify the commit that caused the regression.
🔥 Exception or Error
N/A
🌍 Your Environment
Anything else relevant?
N/A
The text was updated successfully, but these errors were encountered: