perf: cache module concatenation analysis across roots#14832
perf: cache module concatenation analysis across roots#14832LingyuCoder wants to merge 1 commit into
Conversation
|
📝 Benchmark detail: Open
Base persistent cache hit rate: 👍 Current persistent cache hit rate: 👍 |
📦 Binary Size-limit
⏳ The base commit triggered a linux binding build, but its binary size data has not been generated yet, so the size comparison is skipped. Please re-run this workflow once the ecosystem-benchmark data for that commit is published. Warning Reference only — not the real baseline. The base commit's data isn't ready yet, so this compares against the nearest earlier commit that has data ( ❌ Size increased by 12.00KB from 66.65MB to 66.66MB (⬆️0.02%) |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 5 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 popular-libsPath:
📁 react-10kPath:
📁 react-1kPath:
📁 react-5kPath:
📁 ui-componentsPath:
Generated by Rsdoctor GitHub Action |
Merging this PR will improve performance by 19.76%
Performance Changes
Tip Curious why this is faster? Comment Comparing Footnotes
|
|
@codspeedbot explain why this PR is faster |
Here's why this PR speeds up the What got faster
Root cause
This PR introduces a The key design detail that makes the cache correct is the split between what is cached and what stays per-root:
Why the improvement is uneven
The isolation-by-runtime keying is also covered by the new multi-runtime regression test mentioned in the PR description, which guards against a cached entry leaking across runtimes. About the flagged regressionThe Summary
Was this response helpful? React with 👍 or 👎 to help us improve CodSpeedBot. |
Cache runtime-dependent incoming module analysis across root searches while keeping root-specific chunk and ESM checks outside the cache. Add runtime-isolation coverage for multi-runtime builds. Co-authored-by: ScriptedAlchemy <zackary.l.jackson@gmail.com>
e48b090 to
6ab2262
Compare
9924a3e to
eff6ba1
Compare
Deploying rspack with
|
| Latest commit: |
eff6ba1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c7ee7e6f.rspack-v2.pages.dev |
| Branch Preview URL: | https://seal-module-concat-runtime-c.rspack-v2.pages.dev |
Summary
Related links
Checklist