Improve visitor performance by reducing Vec and String allocations
#6337
CodSpeed HQ / CodSpeed Performance Analysis
failed
Feb 11, 2026
Performance Regression: -16.58%
⚡ 3 improved benchmarks
❌ 2 regressed benchmarks
✅ 1130 untouched benchmarks
⏩ 1268 skipped benchmarks1
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(100, 100)] |
893.7 µs | 793.1 µs | +12.69% |
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(10, 1000)] |
2 ms | 1.5 ms | +34.95% |
| ⚡ | Simulation | chunked_varbinview_into_canonical[(10, 1000)] |
3.1 ms | 2.6 ms | +18.59% |
| ❌ | Simulation | patched_take_200k_dispersed |
4.7 ms | 5.6 ms | -16.58% |
| ❌ | Simulation | patched_take_200k_first_chunk_only |
4.8 ms | 5.4 ms | -10.67% |
Comparing adamg/reduce-allocations-some-cases (d1af20c) with develop (39425ae)2
Footnotes
-
1268 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
develop(dbe0ff5) during the generation of this report, so 39425ae was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
Loading