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

refactor(core): reuse concatenation parse snapshot for module concatenation

#13507
Comparing
codex/concat-codegen-parse-unify
(
2c132a7
) with
main
(
258750b
)
CodSpeed Performance Gauge
+10%
Improvement
2
Untouched
13
Skipped
19

Benchmarks

34 total
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+10%
2.1 s1.9 s
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+3%
10.7 ms10.4 ms
rust@create_module_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
22 ms21.8 ms
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
12.7 ms12.6 ms
rust@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
20.9 ms20.8 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
708.6 ms707.9 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
42.3 ms42.3 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 ms12.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.4 ms110.4 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
730.1 ms732.2 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
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
29.9 ms30 ms
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-1%
4.2 ms4.2 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
-1%
343.1 ms345.2 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-1%
150.3 ms151.4 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*

Commits

Click on a commit to change the comparison range
Base
main
258750b
-2.38%
refactor(core): reuse concatenation parse snapshot
e9bb919
21 hours ago
by LingyuCoder
-2.2%
perf(core): reduce concatenated codegen overhead
4d3aff4
20 hours ago
by LingyuCoder
+14.82%
perf(core): narrow concatenation snapshot fast path
13af836
19 hours ago
by LingyuCoder
+0.18%
fix(core): clean up concatenation fast path checks
2c132a7
19 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs