Skip to content

[ty] Infer definite equality comparison results#26290

Merged
charliermarsh merged 2 commits into
mainfrom
charlie/infer-equality-comparison-results
Jun 24, 2026
Merged

[ty] Infer definite equality comparison results#26290
charliermarsh merged 2 commits into
mainfrom
charlie/infer-equality-comparison-results

[ty] Remove redundant enum comparison inference

963c3e3
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis failed Jun 24, 2026 in 0s

Performance Regression: -20.19%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

❌ 1 regressed benchmark
✅ 70 untouched benchmarks
⏩ 64 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation ty_micro[literal_equality_fallthrough_guarded_any] 131.6 ms 164.9 ms -20.19%

Tip

Investigate this regression with the CodSpeed MCP and your agent.


Comparing charlie/infer-equality-comparison-results (963c3e3) with main (bcd2028)

Open in CodSpeed

Footnotes

  1. 64 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.