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

perf: optimize inner graph dependency finalization

#13936
Comparing
codex/optimize-finalize-dependency-usage
(
ef1fbcb
) with
main
(
2d0f61c
)
CodSpeed Performance Gauge
-4%
Improvement
1
Regression
1
Untouched
32

Benchmarks

34 total
rust@persistent_cache_restore_after_single_file_change@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
-4%
19.6 ms20.3 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
+5%
1.2 s1.1 s
rust@scan_dependencies@three_module
xtask/benchmark/benches/groups/scan_dependencies.rs::scan_dependencies::benchmark_scan_dependencies
CodSpeed Performance Gauge
+2%
22.9 ms22.5 ms
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
5.3 ms5.3 ms
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
1.5 ms1.5 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
460.6 ms456.1 ms
rust@create_chunk_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
3.7 ms3.6 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
84.6 µs84 µs
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
+1%
18.4 ms18.3 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
318.6 ms316.5 ms
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
+1%
11.8 ms11.7 ms
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
29.6 ms29.4 ms
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.9 µs61.6 µs
rust@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
13.3 ms13.2 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
339.7 ms338.8 ms
rust@mangle_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
9.2 ms9.2 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
38.9 ms38.8 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
120.8 ms120.7 ms
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
9.2 ms9.1 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
831 µs830.3 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
211.6 µs211.6 µs
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
263.8 µs263.8 µs
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
rust@create_full_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.6 ms6.6 ms
rust@real_content_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
34.3 ms34.3 ms

Commits

Click on a commit to change the comparison range
Base
main
2d0f61c
-3.48%
refactor: use cloned default worker syntax merge
d0a1e83
8 days ago
by LingyuCoder
+3.79%
perf: borrow parser tag data on lookup
e911d84
6 hours ago
by LingyuCoder
+2.69%
fix: type rstest parser tag lookup
0edbf9c
6 hours ago
by LingyuCoder
-6.46%
perf: streamline async dependency block id creation
11d1245
6 hours ago
by LingyuCoder
+0.36%
perf: reduce parser plugin allocation overhead
2311bdf
5 hours ago
by LingyuCoder
+8%
perf: move inner graph usage sets during inference
56e3407
5 hours ago
by LingyuCoder
-8.56%
perf: only move set inner graph values
ef1fbcb
5 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs