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

perf: replace unnecessary usize and u64 with u32

#13338Merged
Comparing
codex/u32-u64-usize
(
9566da8
) with
main
(
f287abc
)
CodSpeed Performance Gauge
0%
Untouched
16
Skipped
3

Benchmarks

19 total
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+5%
540.5 µs517 µs
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
78.7 µs78.1 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
60.5 µs60.3 µs
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
692.1 ms689.5 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
82.7 µs82.4 µs
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
258.8 µs258.5 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
210.7 µs210.6 µs
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
670.5 ms670.2 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
0%
1.3 s1.3 s
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
21.9 ms21.9 ms
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
109.3 ms109.4 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2 s2 s
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
10.6 ms10.6 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
324.7 ms325.3 ms
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-1%
1.4 ms1.5 ms
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
Skipped
114.7 ms*
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
1.6 s*
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
Skipped
537.8 ms*

Commits

Click on a commit to change the comparison range
Base
main
f287abc
+0.06%
chore: replace unnecessary usize and u64 with u32
ee501f5
3 hours ago
by hardfist
+0.23%
chore: fix
9566da8
2 hours ago
by hardfist
© 2026 CodSpeed Technology
Home Terms Privacy Docs