Avatar for the web-infra-dev user
web-infra-dev
rspack
BlogDocsChangelog

perf: Parallelize runtime module hash computation

#13133
Comparing
codex/runtimemodule-hash
(
532232a
) with
main
(
535f404
)
CodSpeed Performance Gauge
-40%
Regression
2
Untouched
14
Skipped
3

Benchmarks

19 total
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
-40%
1.5 s2.5 s
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-11%
713.8 ms801.4 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
77.2 µs76.9 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
209.9 µs209.5 µs
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
262.3 µs261.9 µs
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
12.1 ms12.1 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
83.6 µs83.6 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.7 µs61.7 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
110.9 ms111.4 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-1%
519.5 µs522.1 µs
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-1%
688 ms692.4 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-1%
23 ms23.2 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-2%
332.7 ms338.1 ms
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-4%
1.5 ms1.5 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-4%
2 s2.1 s
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
114.7 ms*
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
1.6 s*
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
537.8 ms*

Commits

Click on a commit to change the comparison range
Base
main
535f404
-39.67%
Parallelize runtime module hashes
532232a
6 hours ago
by hardfist
© 2026 CodSpeed Technology
Home Terms Privacy Docs