Add PiecewiseSequence take microbenchmarks#8830
Draft
danking wants to merge 4 commits into
Draft
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Jul 20, 2026
Performance Gate Passed
✅ 1798 untouched benchmarks
🆕 42 new benchmarks
⏩ 44 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| 🆕 | Simulation | optimized_constant_lengths[1] |
N/A | 47.5 ms | N/A |
| 🆕 | Simulation | optimized_constant_lengths[1024] |
N/A | 7.9 ms | N/A |
| 🆕 | Simulation | optimized_constant_lengths[16] |
N/A | 9.6 ms | N/A |
| 🆕 | Simulation | optimized_constant_lengths[256] |
N/A | 8 ms | N/A |
| 🆕 | Simulation | optimized_constant_lengths[4] |
N/A | 15 ms | N/A |
| 🆕 | Simulation | optimized_constant_lengths[64] |
N/A | 8.2 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[1] |
N/A | 67.3 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[1024] |
N/A | 7.9 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[16] |
N/A | 10.9 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[256] |
N/A | 8 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[4] |
N/A | 19.9 ms | N/A |
| 🆕 | Simulation | prebuilt_dense_lengths[64] |
N/A | 8.5 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[1] |
N/A | 71.3 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[1024] |
N/A | 7.9 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[16] |
N/A | 11 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[256] |
N/A | 8.1 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[4] |
N/A | 20.7 ms | N/A |
| 🆕 | Simulation | reify_constant_lengths_then_take[64] |
N/A | 8.6 ms | N/A |
| 🆕 | Simulation | cursor_copy_safe[1000] |
N/A | 6.8 µs | N/A |
| 🆕 | Simulation | cursor_copy_safe[10000] |
N/A | 14.2 µs | N/A |
| ... | ... | ... | ... | ... | ... |
ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.
Comparing codex/piecewise-sequence-benchmarks (a42849f) with codex/piecewise-sequence-cursor-copy (9183265)2
Footnotes
-
44 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
codex/piecewise-sequence-cursor-copy(182567a) during the generation of this report, so 1d362cc was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
Loading