Don't measure the AST deallocation time in parser benchmarks #24301
+2
−21
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Mar 30, 2026
Performance Gate Passed
⚠️ Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.
⚡ 5 improved benchmarks
✅ 102 untouched benchmarks
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | parser[numpy/ctypeslib.py] |
964.5 µs | 902.5 µs | +6.87% |
| ⚡ | Simulation | parser[large/dataset.py] |
5.2 ms | 4.9 ms | +6.04% |
| ⚡ | Simulation | parser[unicode/pypinyin.py] |
336.6 µs | 314.6 µs | +6.99% |
| ⚡ | Simulation | parser[pydantic/types.py] |
2 ms | 1.9 ms | +8.05% |
| ⚡ | Simulation | parser[numpy/globals.py] |
111.6 µs | 105.4 µs | +5.8% |
Comparing micha/parser-benchmark-dealloc (1ce7a03) with main (bd477d9)
Loading