-
-
Notifications
You must be signed in to change notification settings - Fork 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
chore: use rspack 1.3.0 #11039
chore: use rspack 1.3.0 #11039
Conversation
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site configuration. |
Report too large to display inline |
⚡️ Lighthouse report for the deploy preview of this PR
|
Size Change: +206 B (0%) Total Size: 11.7 MB ℹ️ View Unchanged
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Size Change: -723 B (-0.01%) Total Size: 11.3 MB
ℹ️ View Unchanged
|
Seems there's a bug in Reported web-infra-dev/rspack#9834 Waiting for Rspack team to answer before merging |
merging and temporarily disabled web-infra-dev/rspack#9834 until fixed By chance 1.3 might also fix some deadlock issues we currently have while bundling (see also web-infra-dev/rspack#9665) |
Motivation
See https://rspack.dev/blog/announcing-1-3
Useful for parallel code splitting, but also support for browserslist/output.environment to reduce output size.
Test Plan
CI
Test links
https://deploy-preview-11039--docusaurus-2.netlify.app/
Benchmarks
Note, I think there's a perf regression between 1.2.5 - 1.2.8, and 1.3 improves things a bit with parallel code splitting.
Doesn't seem big deal to force upgrade to v1.3 though, but I'll try to see why this happens
1.2.5
hyperfine --prepare 'yarn clear:website' --runs 5 'yarn build:website:fast'
Benchmark 1: yarn build:website:fast
Time (mean ± σ): 17.849 s ± 0.254 s [User: 60.544 s, System: 9.482 s]
Range (min … max): 17.474 s … 18.152 s 5 runs
1.2.8
hyperfine --prepare 'yarn clear:website' --runs 5 'yarn build:website:fast'
Benchmark 1: yarn build:website:fast
Time (mean ± σ): 18.747 s ± 0.351 s [User: 60.640 s, System: 9.615 s]
Range (min … max): 18.162 s … 19.031 s 5 runs
1.3.0
hyperfine --prepare 'yarn clear:website' --runs 5 'yarn build:website:fast'
Benchmark 1: yarn build:website:fast
Time (mean ± σ): 18.311 s ± 0.604 s [User: 60.698 s, System: 9.483 s]
Range (min … max): 17.608 s … 19.168 s 5 runs