feat(cache): port webpack persistent module cache - #15380
Conversation
📦 Binary Size-limit
❌ Size increased by 52.00KB from 68.30MB to 68.35MB (⬆️0.07%) |
Merging this PR will degrade performance by 3.71%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | rust@create_module_hashes |
8.3 ms | 8.6 ms | -3.71% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing codex/port-webpack-module-caches (5eda27a) with main (a338733)
Footnotes
-
47 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
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:
📁 ui-componentsPath:
📁 react-5kPath:
Generated by Rsdoctor GitHub Action |
ac4cadd to
bbe341e
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 727ff0de33
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Summary
Compilation/modulescache underexperiments.newCache.moduleNormalModulebuilds while refreshing factory-derived stateLimitations
NormalModuleis cached; context and other module types are rebuilt because process-local factory state cannot be restored safely yetsnapshot.modulestrategy yetBuildResultinstead ofModuledue to module-graph ownership differences; non-serializable entries are skippedFollow-up to #15374.