web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize chunk graph dependency traversal
#14196
Comparing
codex/optimize-add-dependencies
(
71479cf
) with
main
(
3b38926
)
CodSpeed Performance Gauge
-3%
Improvement
1
Regression
4
Untouched
45
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
Regression
Improvement
Untouched
Skipped
75 total
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
-7%
6.6 ms
7.1 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
-7%
6.3 ms
6.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
cached_source_hash
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
-3%
2.9 µs
3 µ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
-3%
6.1 ms
6.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/cases/persistent_cache_restore.rs::case::bench::persistent_cache
CodSpeed Performance Gauge
+3%
16.1 ms
15.6 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.7 ms
17.5 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
+1%
839.4 µs
833.3 µs
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
+1%
61.7 µs
61.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
1.4 ms
1.4 ms
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
+1%
698.6 µs
694.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
concat_generate_string
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
0%
43 µs
42.8 µs
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 µs
83.8 µs
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
0%
13 µs
13 µ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
0%
34.7 ms
34.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@mangle_exports
xtask/benchmark/stages/mangle_exports.rs::stage::bench
CodSpeed Performance Gauge
0%
7.1 ms
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.4 ms
11.3 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.8 µs
260.4 µs
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.8 ms
8.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@real_content_hash
xtask/benchmark/stages/real_content_hash.rs::stage::bench
CodSpeed Performance Gauge
0%
33.6 ms
33.6 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.
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms
1.9 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%
920.9 ms
920.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
complex_replace_source_size
xtask/benchmark/cases/rspack_sources.rs::case::bench::rspack_sources
CodSpeed Performance Gauge
0%
221.4 µs
221.3 µ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.
rust@module_graph_api
xtask/benchmark/cases/module_graph_api.rs::case::bench
CodSpeed Performance Gauge
0%
8.1 ms
8.1 ms
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
3b38926
-2.95%
refactor: skip duplicate chunk graph dependencies
f90fa66
8 hours ago
by intellild
+0.05%
Merge branch 'main' into codex/optimize-add-dependencies
9151fba
8 hours ago
by intellild
-1.96%
refactor: preserve chunk graph dependency semantics
c2fb278
5 hours ago
by intellild
+1.36%
perf: try optimize with iterator
71479cf
5 hours ago
by intellild
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs