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

perf: optimize esm resource identifier

#13876
Comparing
codex/optimize-esm-resource-identifier
(
11c9b93
) with
main
(
48543ba
)
CodSpeed Performance Gauge
+12%
Improvement
1
Untouched
33

Benchmarks

34 total
rust@scan_dependencies@three_module
xtask/benchmark/benches/groups/scan_dependencies.rs::scan_dependencies::benchmark_scan_dependencies
CodSpeed Performance Gauge
+12%
22.9 ms20.4 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+3%
854.1 µs826.5 µs
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
+3%
1.3 s1.3 s
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+2%
680.4 ms667.3 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
+2%
19.8 ms19.5 ms
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
1 s1 s
rust@create_chunk_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
3.8 ms3.7 ms
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
+1%
18.7 ms18.4 ms
rust@create_module_assets
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
+1%
795.2 µs787.2 µs
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
+1%
298.4 ms296.4 ms
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
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@flag_dependency_exports
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
13.3 ms13.3 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@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
9.2 ms9.1 ms
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
339.6 ms339.4 ms
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
29.5 ms29.5 ms
rust@create_full_hash
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
6.6 ms6.6 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
84.1 µs84.1 µs
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
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
20.8 ms20.8 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
38.7 ms38.7 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
211.3 µs211.6 µs
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

Commits

Click on a commit to change the comparison range
Base
main
48543ba
+0.07%
perf: optimize esm resource identifier
f54d4bf
1 day ago
by LingyuCoder
+0.09%
perf: streamline dependency usage finalization
fb886e6
1 day ago
by LingyuCoder
-0.76%
Revert "perf: streamline dependency usage finalization"
333be67
1 day ago
by LingyuCoder
+0.81%
refactor: use cloned default worker syntax merge
22eb725
1 day ago
by LingyuCoder
-8.56%
perf: reduce javascript parser allocations
a4d2d99
9 hours ago
by LingyuCoder
+8.46%
perf: avoid linear scope scan for string hooks
5810038
8 hours ago
by LingyuCoder
+0.23%
perf: reuse esm import resource identifiers
a203c3f
7 hours ago
by LingyuCoder
-0.11%
perf: avoid cow conversion for export specifiers
94d571f
7 hours ago
by LingyuCoder
-0.05%
perf: reduce javascript parser tag cloning
f75a535
6 hours ago
by LingyuCoder
+4.51%
perf: skip nested this member hook lookup
5aeff4d
5 hours ago
by LingyuCoder
+7.2%
perf: skip repeated local member chain lookups
b59bdbf
4 hours ago
by LingyuCoder
+0.1%
perf: reduce build module graph task overhead
11c9b93
1 hour ago
by LingyuCoder
© 2026 CodSpeed Technology
Home Terms Privacy Docs