web-infra-dev
rspack
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: reduce flag dependency usage allocations
#14229
Comparing
codex/perf-flag-dependency-usage
(
89c7656
) with
main
(
67cafe8
)
CodSpeed Performance Gauge
+3%
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
-5%
7.1 ms
7.5 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
+12%
22 ms
19.6 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
+2%
852.5 µs
837.4 µs
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
+2%
15.9 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
+1%
6.1 ms
6.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
0%
6.3 ms
6.3 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
0%
260.4 µs
259.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
0%
61.7 µs
61.5 µs
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_hashes
xtask/benchmark/stages/create_chunk_hashes.rs::stage::bench
CodSpeed Performance Gauge
0%
4.1 ms
4.1 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.
bundle@threejs-production-sourcemap
xtask/benchmark/cases/bundle_threejs_production_sourcemap.rs::case::bench::bundle
CodSpeed Performance Gauge
0%
371 ms
370.2 ms
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@create_module_assets
xtask/benchmark/stages/create_module_assets.rs::stage::bench
CodSpeed Performance Gauge
0%
690.6 µs
689.8 µs
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.
rust@runtime_requirements
xtask/benchmark/stages/runtime_requirements.rs::stage::bench
CodSpeed Performance Gauge
0%
34 ms
34 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.3 µ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.
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.
sources@complex_replace_source_map
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
8.7 ms
8.7 ms
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
0%
2.9 µs
2.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@complex_replace_source_source
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
2.8 ms
2.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@concat_generate_string_with_cache
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
13.7 µs
13.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@concat_source_add_few
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
4.1 µs
4.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sources@complex_replace_source_size
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
221.3 µs
221.3 µs
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
67cafe8
+3.25%
perf: reduce flag dependency usage allocations
89c7656
5 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs