Repository navigation
perf(bundler): optimize minify transform - #780
Conversation
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthrough
ChangesMinifyTransform refactor and tests
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b63582a to
cb41c7f
Compare
|
Woo impressive, thanks for your work 💚 |
Summary
This PR optimizes the
minifytransform with fast paths, caching, and broader import handling.Measurements
Measured on Node 24.17.0 / macOS, medians after warmup:
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
useHead/useServerHeadcalls across aliased, namespace, and member-expression import patterns.Performance
script/styleminification with cached, deduplicated concurrent requests and safer “only-shorter” replacements.Tests