web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize module concatenation traversal
#14195
Comparing
perf/optimize-module-concatenation
(
5e8b933
) with
main
(
70b79e2
)
CodSpeed Performance Gauge
+6%
Improvement
3
Untouched
47
Skipped
25
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
75 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_concatenate_module
xtask/benchmark/stages/create_concatenate_module.rs::stage::bench
CodSpeed Performance Gauge
+10%
33.4 ms
30.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat_source_add_few
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
+5%
4 µs
3.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_named_chunk_ids
xtask/benchmark/stages/create_named_chunk_ids.rs::stage::bench
CodSpeed Performance Gauge
+3%
6.4 ms
6.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+4%
64.2 µs
61.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@concatenate_module_code_generation
xtask/benchmark/stages/concatenate_module_code_generation.rs::stage::bench
CodSpeed Performance Gauge
+1%
98 ms
96.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat_generate_string_with_cache
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
+1%
13.1 µs
13 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_chunk_ids
xtask/benchmark/stages/create_chunk_ids.rs::stage::bench
CodSpeed Performance Gauge
+1%
6.3 ms
6.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_module_hashes
xtask/benchmark/stages/create_module_hashes.rs::stage::bench
CodSpeed Performance Gauge
+1%
17.2 ms
17 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_chunk_hashes
xtask/benchmark/stages/create_chunk_hashes.rs::stage::bench
CodSpeed Performance Gauge
+1%
4.1 ms
4.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
259.9 µs
258.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_chunk_assets
xtask/benchmark/stages/create_chunk_assets.rs::stage::bench
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
840.2 µs
836.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@persistent_cache_restore_after_single_file_change@basic-react-development
xtask/benchmark/cases/persistent_cache_restore_after_single_file_change.rs::case::bench::persistent_cache
CodSpeed Performance Gauge
0%
17 ms
16.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@flag_dependency_usage
xtask/benchmark/stages/flag_dependency_usage.rs::stage::bench
CodSpeed Performance Gauge
0%
22 ms
21.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bundle@threejs-production-sourcemap
xtask/benchmark/cases/bundle_threejs_production_sourcemap.rs::case::bench::bundle
CodSpeed Performance Gauge
0%
374.8 ms
373.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bundle@threejs-development
xtask/benchmark/cases/bundle_threejs_development.rs::case::bench::bundle
CodSpeed Performance Gauge
0%
249.3 ms
248.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@build_module_graph
xtask/benchmark/cases/build_module_graph.rs::case::bench
CodSpeed Performance Gauge
0%
923.9 ms
922.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
repetitive_react_components_source
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
0%
260.9 µs
260.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@build_swc-loader
xtask/benchmark/cases/build_module_graph.rs::case::bench
CodSpeed Performance Gauge
0%
1.9 s
1.9 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_full_hash
xtask/benchmark/stages/create_full_hash.rs::stage::bench
CodSpeed Performance Gauge
0%
6.1 ms
6.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
repetitive_react_components_map
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
0%
1.8 ms
1.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@scan_dependencies@three_module
xtask/benchmark/cases/scan_dependencies.rs::case::bench
CodSpeed Performance Gauge
0%
21.5 ms
21.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
source_map_to_json
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
0%
12.4 ms
12.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@build_chunk_graph
xtask/benchmark/cases/build_chunk_graph.rs::case::bench
CodSpeed Performance Gauge
0%
69.5 ms
69.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
209.2 µs
209.1 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
70b79e2
+5.72%
perf: optimize module concatenation traversal
5e8b933
3 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs