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

perf: improve `try_to_add` of module concatenation

#11279Merged
Comparing
perf/improve-try-to-add
(
a44766f
) with
main
(
e7fa0a5
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
17
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project::js@external getResolve
CodSpeed Performance Gauge
+2%
1.5 ms
1.5 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project::js@stats.toJson()
CodSpeed Performance Gauge
0%
25.4 ms
25.3 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by dependencies
CodSpeed Performance Gauge
0%
572.1 µs
571 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse compilation.modules
CodSpeed Performance Gauge
0%
65.3 µs
65.2 µs
bundle@threejs-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production
CodSpeed Performance Gauge
0%
1.8 s
1.8 s
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project::js@is css mod
CodSpeed Performance Gauge
0%
88 µs
87.9 µs
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-development
CodSpeed Performance Gauge
0%
425.5 ms
425.1 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-development
CodSpeed Performance Gauge
0%
908.4 ms
907.7 ms
bundle@basic-react-production
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production
CodSpeed Performance Gauge
0%
624.9 ms
624.6 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project::js@record module
CodSpeed Performance Gauge
0%
2 ms
2 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@basic-react-production-sourcemap
CodSpeed Performance Gauge
0%
822.1 ms
822.4 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle::bundle@threejs-production-sourcemap
CodSpeed Performance Gauge
0%
2.3 s
2.3 s
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project::js@collect imported identifiers
CodSpeed Performance Gauge
0%
212.5 µs
212.7 µs
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph
CodSpeed Performance Gauge
0%
100.8 ms
101.1 ms
rust@build_chunk_graph_parallel
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark::rust@build_chunk_graph_parallel
CodSpeed Performance Gauge
0%
92.6 ms
92.9 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project::js@record chunk group
CodSpeed Performance Gauge
0%
82.8 µs
83 µs
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project::js@Traverse module graph by connections
CodSpeed Performance Gauge
0%
282.1 µs
283.4 µs

Commits

Click on a commit to change the comparison range
Base
main
e7fa0a5
0%
perf: improve try_to_add
7a49d9b
16 hours ago
by LingyuCoder
0%
perf: improve try_to_add
a44766f
14 hours ago
by LingyuCoder
© 2025 CodSpeed Technology
Home Terms Privacy Docs