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

perf(chunk): reduce ensure chunk conditions traversal overhead

#13501
Comparing
codex/optimize-ensure-chunk-conditions-cache
(
ab45e47
) with
main
(
95fbc19
)
CodSpeed Performance Gauge
0%
Untouched
7
Skipped
19

Benchmarks

26 total
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
110.7 ms110.5 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
0%
1.5 s1.5 s
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.1 s2.1 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.4 ms12.4 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
707.7 ms708 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
728.6 ms730 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-1%
343.8 ms345.8 ms
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*
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
48.7 MB*
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
Skipped
0 B*
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
11 MB*
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
Skipped
86.8 MB*
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
14.3 MB*
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
12.6 MB*
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
19.5 MB*
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
1.5 ms*
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
78.3 µs*
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
543.6 µs*
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
262.8 µs*
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
21.7 ms*
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
61.3 µs*
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
1.9 ms*
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
211.3 µs*

Commits

Click on a commit to change the comparison range
Base
main
95fbc19
-0.08%
perf(chunk): reduce ensure chunk conditions traversal overhead
ab45e47
3 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs