web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: speed up build chunk graph module checks
#14227
Comparing
codex/perf-build-chunk-graph-mask
(
f791afc
) with
main
(
67cafe8
)
CodSpeed Performance Gauge
+4%
Improvement
1
Regression
1
Untouched
48
Skipped
38
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
Regression
Improvement
Untouched
Skipped
88 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@mangle_exports
xtask/benchmark/stages/mangle_exports.rs::stage::bench
CodSpeed Performance Gauge
-4%
7.1 ms
7.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
+12%
69.6 ms
62.2 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
+3%
852.5 µs
831.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@cached_source_hash
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
+1%
2.9 µs
2.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@runtime_requirements
xtask/benchmark/stages/runtime_requirements.rs::stage::bench
CodSpeed Performance Gauge
+1%
34 ms
33.7 ms
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_full_hash
xtask/benchmark/stages/create_full_hash.rs::stage::bench
CodSpeed Performance Gauge
+1%
6.1 ms
6.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_module_ids
xtask/benchmark/stages/create_module_ids.rs::stage::bench
CodSpeed Performance Gauge
0%
8.9 ms
8.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
78.8 µs
78.5 µ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.3 ms
3.3 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.
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.7 µs
61.5 µs
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
0%
260.4 µs
259.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_named_module_ids
xtask/benchmark/stages/create_named_module_ids.rs::stage::bench
CodSpeed Performance Gauge
0%
5.8 ms
5.8 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%
210.1 µs
209.6 µs
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.4 ms
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
0%
6.2 ms
6.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@concat_generate_string
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
42.7 µs
42.7 µ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%
16.8 ms
16.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@flag_dependency_exports
xtask/benchmark/stages/flag_dependency_exports.rs::stage::bench
CodSpeed Performance Gauge
0%
11.3 ms
11.3 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%
371 ms
370.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
84.3 µs
84.2 µ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.8 s
1.8 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@create_module_assets
xtask/benchmark/stages/create_module_assets.rs::stage::bench
CodSpeed Performance Gauge
0%
690.6 µs
690.1 µs
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%
896 ms
895.8 ms
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
67cafe8
+3.82%
perf: speed up build chunk graph module checks
f791afc
12 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs