perf(core): use dense maps for module graph artifacts#14330
Conversation
Merging this PR will improve performance by 7.28%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | rust@create_module_assets |
694.3 µs | 723 µs | -3.96% |
| ⚡ | WallTime | bundle@threejs-10x-development |
308.7 ms | 245.8 ms | +25.56% |
| ⚡ | Simulation | rust@mangle_exports |
7.1 ms | 6.9 ms | +2.39% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing hardfist:perf/module-graph-dense-dependency-id-map (e0d8103) with main (1fd4fca)
Footnotes
-
40 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. ↩
Summary
ExportsInfoTests
cargo test -p rspack_core dense_exports_info_mapcargo check -p rspack_core