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

perf: reuse global parser options

#13926
Comparing
codex/reuse-parser-options
(
9404e04
) with
main
(
b9788fb
)
CodSpeed Performance Gauge
-6%
Improvement
3
Regression
2
Untouched
29

Benchmarks

34 total
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
-6%
263.6 µs279.6 µs
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
-4%
17.9 ms18.8 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
+8%
1.3 s1.2 s
rust@runtime_requirements
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+4%
56.7 ms54.4 ms
rust@persistent_cache_restore_after_single_file_change@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
+4%
20.1 ms19.4 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
679.8 ms671.2 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
1 s1 s
rust@split_chunks
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
5.4 ms5.3 ms
rust@create_module_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
787 µs782.8 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
61.8 µs61.5 µs
rust@create_full_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.6 ms6.5 ms
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
93.7 ms93.3 ms
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
9.7 ms9.7 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
39 ms38.8 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
84.2 µs84 µs
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
339.5 ms339 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
298.4 ms297.9 ms
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
121.1 ms120.9 ms
rust@create_module_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
16.4 ms16.4 ms
rust@real_content_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
34.3 ms34.3 ms
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
11.7 ms11.7 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
211.4 µs211.3 µs
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
78.8 µs78.8 µs

Commits

Click on a commit to change the comparison range
Base
main
b9788fb
+5.19%
perf: reuse global parser options
a81c278
15 hours ago
by LingyuCoder
-0.3%
perf: move resource data into normal modules
d05944e
14 hours ago
by LingyuCoder
+0.72%
perf: avoid parsing empty resource data
ed5d50f
14 hours ago
by LingyuCoder
-0.04%
perf: return resolve dependencies directly
5d7adf6
13 hours ago
by LingyuCoder
-0.96%
perf: avoid function conditions in default rules
eeea92e
13 hours ago
by LingyuCoder
-0.03%
chore: derive resource data default
958cae0
12 hours ago
by LingyuCoder
-9.23%
perf: share normal module loader list
6c4d05b
10 hours ago
by LingyuCoder
-1.51%
Revert "perf: share normal module loader list"
c118f25
10 hours ago
by LingyuCoder
+0.43%
refactor: reduce module rules matcher duplication
9404e04
9 hours ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs