feat: constant time patches slicing #4913
Merged
CodSpeed HQ / CodSpeed Performance Analysis
failed
Oct 13, 2025 in 0s
Performance Regression: -22.13%
Summary
⚡ 6 improvements
❌ 4 regressions
✅ 1162 untouched
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Benchmarks breakdown
| Benchmark | BASE |
HEAD |
Change | |
|---|---|---|---|---|
| ⚡ | patched_take_200k_first_chunk_only |
5.4 ms | 4.8 ms | +11.84% |
| ⚡ | take_200k_dispersed |
4.6 ms | 3.7 ms | +23.64% |
| ⚡ | take_200k_first_chunk_only |
4.3 ms | 3.4 ms | +25.57% |
| ⚡ | canonical_into_non_nullable[(10000, 10, 0.0)] |
277.8 µs | 191.4 µs | +45.13% |
| ⚡ | canonical_into_non_nullable[(10000, 10, 0.01)] |
297 µs | 210.8 µs | +40.92% |
| ⚡ | canonical_into_non_nullable[(10000, 10, 0.1)] |
393.7 µs | 307.1 µs | +28.21% |
| ❌ | into_canonical_nullable[(10000, 1, 0.0)] |
42 µs | 50 µs | -15.99% |
| ❌ | into_canonical_nullable[(10000, 1, 0.1)] |
51.6 µs | 62.5 µs | -17.41% |
| ❌ | into_canonical_nullable[(10000, 10, 0.1)] |
357.6 µs | 438.7 µs | -18.47% |
| ❌ | into_canonical_nullable[(10000, 100, 0.1)] |
3.3 ms | 4.2 ms | -22.13% |
Loading