Skip to content

perf(build): custom Rslib minify options for @rspack/core#10048

Merged
chenjiahan merged 1 commit intomainfrom
perf/compress
Apr 16, 2025
Merged

perf(build): custom Rslib minify options for @rspack/core#10048
chenjiahan merged 1 commit intomainfrom
perf/compress

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Apr 16, 2025

Summary

custom Rslib minify options for @rspack/core to output a smaller bundle size.

  • dist/cssExtractHmr.js: 6.2 kB -> 5.6 kB
  • dist/cssExtractLoader.js: 10.6 kB -> 9.6 kB
  • dist/worker.js: 71.5 kB -> 62.5 kB
  • dist/index.js: 772.0 kB -> 705.9 kB

tsup:

  • dist/cssExtractHmr.js: 5.70 KB = 5.57 kB
  • dist/cssExtractLoader.js: 10.27 KB = 10.03 kB
  • dist/worker.js: 66.83 KB = 65.26 kB
  • dist/index.js: 695.87 KB = 712.57 kB

#9899 (comment)

Checklist

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

@github-actions github-actions bot added release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack. labels Apr 16, 2025
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 16, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit c5b46e3
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67ff2f50cf2b630008162c00

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Apr 16, 2025

CodSpeed Performance Report

Merging #10048 will not alter performance

Comparing perf/compress (c5b46e3) with main (a2b6911)

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

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

✅ 11 untouched benchmarks

@chenjiahan chenjiahan merged commit 2747857 into main Apr 16, 2025
37 checks passed
@chenjiahan chenjiahan deleted the perf/compress branch April 16, 2025 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: performance release: performance 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