[ty] Implement Duboc's TDD optimization for narrowing constraints #25787
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Jun 10, 2026 in 0s
Performance Gate Passed
⚡ 1 improved benchmark
✅ 126 untouched benchmarks
🆕 6 new benchmarks
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | ty_micro[literal_equality_fallthrough_guarded_any] |
180.5 ms | 129 ms | +39.92% |
| 🆕 | Simulation | ty_micro[typeis_elif_narrowing] |
N/A | 173.3 ms | N/A |
| 🆕 | Simulation | ty_micro[large_isinstance_narrowing_across_calls] |
N/A | 201.1 ms | N/A |
| 🆕 | Simulation | ty_micro[large_isinstance_narrowing_mixed_calls] |
N/A | 195.2 ms | N/A |
| 🆕 | Memory | ty_micro[typeis_elif_narrowing] |
N/A | 14.1 MB | N/A |
| 🆕 | Memory | ty_micro[large_isinstance_narrowing_across_calls] |
N/A | 14.8 MB | N/A |
| 🆕 | Memory | ty_micro[large_isinstance_narrowing_mixed_calls] |
N/A | 14.7 MB | N/A |
Tip
Curious why this is faster? Use the CodSpeed MCP and ask your agent.
Comparing charlie/duboc-narrowing-constraints (d774951) with main (8b79528)
Loading