Reuse parser scratch buffers - #26798
Merged
Merged
CodSpeed HQ / CodSpeed Performance Analysis
completed
Jul 15, 2026 in 0s
Acknowledged Regression: -2.52%
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 4 improved benchmarks
❌ 2 (👁 2) regressed benchmarks
✅ 149 untouched benchmarks
⏩ 2 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | parser[large/dataset.py] |
3.3 ms | 3.1 ms | +7.13% |
| ⚡ | Simulation | parser[numpy/ctypeslib.py] |
657.1 µs | 619.1 µs | +6.14% |
| ⚡ | Memory | parser[large/dataset.py] |
776.3 KB | 735.4 KB | +5.56% |
| ⚡ | Simulation | parser[pydantic/types.py] |
1.4 ms | 1.3 ms | +5.47% |
| 👁 | Memory | parser[unicode/pypinyin.py] |
45.6 KB | 49.8 KB | -8.39% |
| 👁 | Memory | parser[numpy/globals.py] |
13.8 KB | 18.6 KB | -25.99% |
Tip
Curious why this is faster? Use the CodSpeed MCP and ask your agent.
Comparing micha/parser-reuse-scratch-buffers (87174d6) with main (9e06f27)
Footnotes
-
2 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