web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(javascript): avoid cloning exports info during usage analysis
#14157
Comparing
perf/micro-optimize-rspack-bench
(
a203ef2
) with
main
(
31647e8
)
CodSpeed Performance Gauge
+6%
Improvement
4
Untouched
33
Skipped
25
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
62 total
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
+13%
24 ms
21.2 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
+6%
6.6 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
+3%
16.1 ms
15.6 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
+3%
6.3 ms
6.1 ms
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
+1%
16.8 ms
16.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bundle@basic-react-development
xtask/benchmark/cases/bundle_basic_react_development.rs::case::bench::bundle
CodSpeed Performance Gauge
+1%
310.1 ms
306.9 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%
696.8 µs
691.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
+1%
3.1 ms
3.1 ms
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
0%
33.4 ms
33.3 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.9 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
0%
15.7 ms
15.7 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%
836.4 µs
834.4 µs
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.7 ms
33.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
rust@split_chunks
xtask/benchmark/stages/split_chunks.rs::stage::bench
CodSpeed Performance Gauge
0%
4.5 ms
4.5 ms
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@build_chunk_graph
xtask/benchmark/cases/build_chunk_graph.rs::case::bench
CodSpeed Performance Gauge
0%
69.7 ms
69.6 ms
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@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.5 µs
61.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bundle@basic-react-production-sourcemap
xtask/benchmark/cases/bundle_basic_react_production_sourcemap.rs::case::bench::bundle
CodSpeed Performance Gauge
0%
261.5 ms
261.2 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
0%
6.2 ms
6.2 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.5 µs
78.4 µ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%
924.7 ms
924.3 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.5 µs
209.4 µs
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
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
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
31647e8
+6.48%
perf(javascript): avoid cloning exports info during usage analysis
a203ef2
1 hour ago
by hardfist
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs