Try and improve allocation-happy code paths #6337
+417
−11
Draft
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Feb 6, 2026
Performance Gate Passed
⚡ 6 improved benchmarks
✅ 1132 untouched benchmarks
⏩ 1265 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | chunked_bool_into_canonical[(10, 1000)] |
1.8 ms | 1.4 ms | +28.35% |
| ⚡ | Simulation | chunked_bool_into_canonical[(100, 100)] |
228.1 µs | 183.2 µs | +24.48% |
| ⚡ | Simulation | chunked_bool_into_canonical[(1000, 10)] |
87.5 µs | 75.8 µs | +15.4% |
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(10, 1000)] |
1.9 ms | 1.4 ms | +36.39% |
| ⚡ | Simulation | chunked_opt_bool_into_canonical[(100, 100)] |
444.8 µs | 384.4 µs | +15.72% |
| ⚡ | Simulation | chunked_varbinview_into_canonical[(10, 1000)] |
3 ms | 2.5 ms | +21.22% |
Comparing adamg/reduce-allocations-some-cases (8172fcb) with develop (a0cf8ae)
Footnotes
-
1265 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. ↩
Loading