[ty] Improve UnionBuilder performance by changing Type::is_subtype_of calls to Type::is_redundant_with
#22337
+24
−25
CodSpeed HQ / CodSpeed Performance Analysis
succeeded
Jan 7, 2026
Performance Gate Passed
Summary
⚡ 2 improved benchmarks
✅ 21 untouched benchmarks
⏩ 30 skipped benchmarks1
Performance Changes
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | WallTime | altair |
4.9 s | 4.6 s | +8.23% |
| ⚡ | WallTime | multithreaded |
1.3 s | 1.1 s | +17.32% |
Comparing alex/more-redundancy (f3b9422) with main (c02d164)
Footnotes
-
30 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