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

refactor(split-chunks): speed up module group processing

#13322Closed
Comparing
codex/split-chunks-affected-index
(
3def2b0
) with
main
(
5f17956
)
CodSpeed Performance Gauge
-4%
Regression
1
Untouched
15
Skipped
9
Archived
10

Benchmarks

35 total
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-4%
9.1 ms*9.4 ms
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
12.6 ms*12.6 ms
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
29.9 ms*29.9 ms
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 ms*12.4 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
42.4 ms*42.4 ms
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
10.8 ms*10.8 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2.1 s*2.1 s
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
343.1 ms*343.4 ms
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
110.6 ms*110.7 ms
rust@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
20.2 ms*20.2 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
143.4 ms*143.6 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
730 ms*731.4 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 s*1.5 s
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
706.9 ms*708.7 ms
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
4.2 ms*4.2 ms
rust@create_module_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-1%
21.8 ms*22 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
61.4 µs*
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
1.9 ms*
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
1.4 ms*
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
210.7 µs*
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
83.3 µs*
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
78.1 µs*
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
21.7 ms*
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
265.3 µs*
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
Skipped
529.8 µs*

Commits

Click on a commit to change the comparison range
Base
main
5f17956
-3.93%
fix(split-chunks): keep queue split free of fast path
3def2b0
30 days ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs