expand: Fix performance drop with cgu=1 by ascii fast-path #11104
CodSpeed HQ / CodSpeed Performance Analysis
failed
Feb 26, 2026 in 0s
Performance Regression: -3.74%
⚡ 2 improved benchmarks
❌ 1 regressed benchmark
✅ 291 untouched benchmarks
⏩ 42 skipped benchmarks1
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Simulation | shuf_input_range[1000000] |
84.2 ms | 87.5 ms | -3.74% |
| ⚡ | Simulation | expand_many_lines[100000] |
95.9 ms | 64.9 ms | +47.82% |
| ⚡ | Simulation | expand_custom_tabstops[50000] |
23.6 ms | 16.7 ms | +41.36% |
Comparing oech3:expand-cgu1-ascii (12d5c0b) with main (dc49239)
Footnotes
-
42 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