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.1.0 #8995

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

GiveMe-A-Name
Copy link
Member

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

Summary

According to SWC ChangeLog, swc_core v10.1.0 improve DCE, it will reduce js production size.
So we upgrade SWC to v10.1.0

Checklist

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

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

netlify bot commented Jan 13, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 9c39b83
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/678491f2aaf77f0008d446a7

Copy link
Contributor

github-actions bot commented Jan 13, 2025

📝 Benchmark detail: Open

Name Base (2025-01-13 43af017) Current Change
10000_big_production-mode_disable-minimize + exec 37.1 s ± 460 ms 38.4 s ± 321 ms +3.50 %
10000_development-mode + exec 1.88 s ± 39 ms 1.89 s ± 37 ms +0.66 %
10000_development-mode_hmr + exec 678 ms ± 16 ms 683 ms ± 25 ms +0.71 %
10000_production-mode + exec 2.42 s ± 46 ms 2.41 s ± 31 ms -0.64 %
arco-pro_development-mode + exec 1.77 s ± 68 ms 1.79 s ± 53 ms +1.07 %
arco-pro_development-mode_hmr + exec 378 ms ± 1.7 ms 377 ms ± 2.3 ms -0.18 %
arco-pro_production-mode + exec 3.76 s ± 75 ms 3.68 s ± 146 ms -2.12 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.72 s ± 97 ms 3.74 s ± 56 ms +0.67 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.76 s ± 156 ms 3.71 s ± 83 ms -1.25 %
large-dyn-imports_development-mode + exec 2.12 s ± 17 ms 2.16 s ± 31 ms +1.70 %
large-dyn-imports_production-mode + exec 2.2 s ± 34 ms 2.18 s ± 65 ms -0.63 %
threejs_development-mode_10x + exec 1.64 s ± 22 ms 1.63 s ± 21 ms -0.71 %
threejs_development-mode_10x_hmr + exec 786 ms ± 17 ms 781 ms ± 4 ms -0.62 %
threejs_production-mode_10x + exec 5.5 s ± 96 ms 5.47 s ± 85 ms -0.60 %
10000_big_production-mode_disable-minimize + rss memory 9441 MiB ± 44.9 MiB 9543 MiB ± 29.3 MiB +1.08 %
10000_development-mode + rss memory 641 MiB ± 15 MiB 676 MiB ± 20.5 MiB +5.38 %
10000_development-mode_hmr + rss memory 1444 MiB ± 426 MiB 1431 MiB ± 369 MiB -0.90 %
10000_production-mode + rss memory 640 MiB ± 14.3 MiB 702 MiB ± 30.4 MiB +9.67 %
arco-pro_development-mode + rss memory 570 MiB ± 34.3 MiB 588 MiB ± 19.5 MiB +3.10 %
arco-pro_development-mode_hmr + rss memory 625 MiB ± 74.5 MiB 611 MiB ± 60.1 MiB -2.27 %
arco-pro_production-mode + rss memory 726 MiB ± 42.7 MiB 743 MiB ± 36.6 MiB +2.29 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 727 MiB ± 31.5 MiB 783 MiB ± 51.4 MiB +7.66 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 724 MiB ± 67.6 MiB 750 MiB ± 32.6 MiB +3.58 %
large-dyn-imports_development-mode + rss memory 640 MiB ± 3.01 MiB 656 MiB ± 8.9 MiB +2.46 %
large-dyn-imports_production-mode + rss memory 528 MiB ± 2.74 MiB 554 MiB ± 9.2 MiB +4.82 %
threejs_development-mode_10x + rss memory 552 MiB ± 16.7 MiB 577 MiB ± 22.7 MiB +4.67 %
threejs_development-mode_10x_hmr + rss memory 1119 MiB ± 127 MiB 1147 MiB ± 129 MiB +2.45 %
threejs_production-mode_10x + rss memory 861 MiB ± 41.6 MiB 891 MiB ± 49.5 MiB +3.50 %

Copy link

codspeed-hq bot commented Jan 13, 2025

CodSpeed Performance Report

Merging #8995 will not alter performance

Comparing feat/bump-swc-10.1.0 (9c39b83) with main (f28ed41)

🎉 Hooray! codspeed-node just leveled up to 4.0.0!

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 13, 2025 06:21
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 fa3e453 into main Jan 13, 2025
48 checks passed
@GiveMe-A-Name GiveMe-A-Name deleted the feat/bump-swc-10.1.0 branch January 13, 2025 06:52
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