Skip to content

perf: reduce memory allocation in esm_export_imported_specifier_dependency#10657

Merged
LingyuCoder merged 6 commits into
web-infra-dev:mainfrom
CPunisher:06-12-perf/module-graph-cache-1
Jun 13, 2025
Merged

perf: reduce memory allocation in esm_export_imported_specifier_dependency#10657
LingyuCoder merged 6 commits into
web-infra-dev:mainfrom
CPunisher:06-12-perf/module-graph-cache-1

&Option<_> to Option<&_>

cd135c4
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
CodSpeed HQ / CodSpeed Performance Analysis succeeded Jun 13, 2025 in 0s

Performance Gate Passed

Summary

🆕 12 new benchmarks

Benchmarks breakdown

Benchmark BASE HEAD Change
🆕 rust@bundle-basic N/A 4 ms N/A
🆕 rust@bundle-basic_sourcemap N/A 4.2 ms N/A
🆕 rust@build_chunk_graph N/A 96.3 ms N/A
🆕 rust@build_chunk_graph_parallel N/A 74.5 ms N/A
🆕 js@Traverse compilation.modules N/A 66.8 µs N/A
🆕 js@Traverse module graph by connections N/A 289.6 µs N/A
🆕 js@Traverse module graph by dependencies N/A 557.4 µs N/A
🆕 js@collect imported identifiers N/A 221.8 µs N/A
🆕 js@is css mod N/A 90.6 µs N/A
🆕 js@record chunk group N/A 91 µs N/A
🆕 js@record module N/A 2 ms N/A
🆕 js@stats.toJson() N/A 25.4 ms N/A