-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Performance regression after v1.4.1-nightly-20240210.1 #8708
Comments
Actually I expected some minor performance improvement while updating wasmer... |
Yeah, a bit surprising as their release notes even site since performance improvements. I noticed in the PR you create a new tokio runtime for each call to |
Tested the latest release and the performance is back! It is not seem to be any faster or slower for my workflow. Thanks! |
### What? - Update `swc_core` to fix performance regression caused by the creation of the `tokio` runtime. This PR practically reverts #62441. - Apply various minifier bug fixes. - swc-project/swc#8730 - swc-project/swc#8733 - swc-project/swc#8725 - swc-project/swc#8726 - swc-project/swc#8727 - Apply swc-project/plugins#271 (Closes PACK-2714) ### Why? Someone reported a performance regression. See swc-project/swc#8708 ### How? Closes PACK-2693 --------- Co-authored-by: Tobias Koppers <[email protected]>
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
Updating from v1.4.1-nightly-20240210.1 to any version thereafter results in a 10-20% increase in compilation time.
I think the update that caused the slow down is related to the latest wasmer update.
Input code
Playground link (or link to the minimal reproduction)
https://github.com/MetaMask/metamask-extension/tree/webpack-perf-regression
SWC Info output
(I'm away from my desk, but will fill this out later)
Expected behavior
Performance should remain roughly the same between versions.
Actual behavior
It got slower 🥲
Version
v1.4.5
Additional context
Original discussion: https://discord.com/channels/889779439272075314/889780921002246154/1215428591945383936
The text was updated successfully, but these errors were encountered: