Skip to content
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

feat(core): bump swc_core to 10.0.1 #8967

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

GiveMe-A-Name
Copy link
Member

@GiveMe-A-Name GiveMe-A-Name commented Jan 8, 2025

Summary

Swc v10.0.1 make performance optimize, about minify specially.
When compile large project that has many modules, it would be fastest in production mode.
So we upgrade Swc to v10.0.1

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@GiveMe-A-Name GiveMe-A-Name marked this pull request as draft January 8, 2025 06:10
@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: feature release: feature related release(mr only) labels Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

📝 Benchmark detail: Open

Name Base (2025-01-08 0dbc9ac) Current Change
10000_big_production-mode_disable-minimize + exec 37.8 s ± 463 ms 38.2 s ± 499 ms +1.20 %
10000_development-mode + exec 1.86 s ± 18 ms 1.85 s ± 58 ms -0.35 %
10000_development-mode_hmr + exec 675 ms ± 5.4 ms 689 ms ± 25 ms +2.16 %
10000_production-mode + exec 2.5 s ± 38 ms 2.38 s ± 32 ms -5.00 %
arco-pro_development-mode + exec 1.78 s ± 148 ms 1.74 s ± 69 ms -2.42 %
arco-pro_development-mode_hmr + exec 376 ms ± 0.77 ms 377 ms ± 1.5 ms +0.11 %
arco-pro_production-mode + exec 3.63 s ± 72 ms 3.62 s ± 132 ms -0.42 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.65 s ± 113 ms 3.68 s ± 61 ms +0.98 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.6 s ± 53 ms 3.65 s ± 172 ms +1.33 %
large-dyn-imports_development-mode + exec 2.08 s ± 16 ms 2.07 s ± 15 ms -0.56 %
large-dyn-imports_production-mode + exec 2.11 s ± 41 ms 2.08 s ± 33 ms -1.42 %
threejs_development-mode_10x + exec 1.5 s ± 20 ms 1.49 s ± 23 ms -0.50 %
threejs_development-mode_10x_hmr + exec 779 ms ± 27 ms 774 ms ± 19 ms -0.62 %
threejs_production-mode_10x + exec 5.32 s ± 29 ms 5.34 s ± 105 ms +0.32 %
10000_big_production-mode_disable-minimize + rss memory 9502 MiB ± 255 MiB 9534 MiB ± 222 MiB +0.33 %
10000_development-mode + rss memory 642 MiB ± 7.83 MiB 684 MiB ± 31.5 MiB +6.55 %
10000_development-mode_hmr + rss memory 1398 MiB ± 340 MiB 1564 MiB ± 148 MiB +11.85 %
10000_production-mode + rss memory 626 MiB ± 26.9 MiB 694 MiB ± 30.8 MiB +10.86 %
arco-pro_development-mode + rss memory 586 MiB ± 36.2 MiB 609 MiB ± 36.2 MiB +3.90 %
arco-pro_development-mode_hmr + rss memory 617 MiB ± 18.3 MiB 635 MiB ± 89.8 MiB +2.89 %
arco-pro_production-mode + rss memory 735 MiB ± 36.7 MiB 744 MiB ± 27.4 MiB +1.14 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 751 MiB ± 86.5 MiB 783 MiB ± 49.8 MiB +4.16 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 738 MiB ± 41.8 MiB 781 MiB ± 60.7 MiB +5.96 %
large-dyn-imports_development-mode + rss memory 666 MiB ± 12.4 MiB 672 MiB ± 7.58 MiB +0.85 %
large-dyn-imports_production-mode + rss memory 559 MiB ± 9 MiB 574 MiB ± 4.55 MiB +2.85 %
threejs_development-mode_10x + rss memory 637 MiB ± 33.9 MiB 664 MiB ± 26.1 MiB +4.13 %
threejs_development-mode_10x_hmr + rss memory 1103 MiB ± 187 MiB 1260 MiB ± 261 MiB +14.21 %
threejs_production-mode_10x + rss memory 918 MiB ± 47 MiB 987 MiB ± 47.7 MiB +7.53 %

Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 5f9344b
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/677e16b46f9ab400089a4ddf

Copy link

codspeed-hq bot commented Jan 8, 2025

CodSpeed Performance Report

Merging #8967 will not alter performance

Comparing feat/bump-swc-10.0.0 (5f9344b) with main (0dbc9ac)

🎉 Hooray! codspeed-rust just leveled up to 2.7.2!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 3 untouched benchmarks

@GiveMe-A-Name GiveMe-A-Name marked this pull request as ready for review January 8, 2025 07:53
Copy link
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@GiveMe-A-Name GiveMe-A-Name merged commit 813b6fd into main Jan 8, 2025
44 checks passed
@GiveMe-A-Name GiveMe-A-Name deleted the feat/bump-swc-10.0.0 branch January 8, 2025 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants