web-infra-dev
rspack
BlogDocsChangelog

perf: try add cache for hotpath function

#10224Closed
Comparing
yj/try-add-cache
(
9ddac20
) with
main
(
d13413d
)
CodSpeed Performance Gauge
+1%
Untouched
11

Benchmarks

Passed

stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+8%
25.2 ms23.3 ms
Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
609.3 µs601.3 µs
is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
94.2 µs93.3 µs
basic_sourcemap
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark
CodSpeed Performance Gauge
+1%
3 ms3 ms
Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
291.9 µs290.1 µs
Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
71.1 µs70.8 µs
collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
220.6 µs220 µs
record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
2 ms2 ms
build_chunk_graph
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
93.5 ms93.5 ms
build_chunk_graph_parallel
tasks/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
69.8 ms69.8 ms
basic
tasks/benchmark/benches/groups/basic_build.rs::basic::basic_benchmark
CodSpeed Performance Gauge
-1%
2.8 ms2.8 ms

Commits

Click on a commit to change the comparison range
Base
main
d13413d
+1.09%
chore: fix ci
9ddac20
8 months ago
by hardfist
© 2025 CodSpeed Technology
Home Terms Privacy Docs