Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

[ty] Improve union builder performance

#22048Merged
Comparing
micha/union-builder-simplify
(
3848ada
) with
main
(
76854fd
)
CodSpeed Performance Gauge
+19%
Improvement
2
Untouched
11
Skipped
30
Archived
9

Benchmarks

52 total
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+4%
5.5 s5.3 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+4%
8.2 s7.9 s

Commits

Click on a commit to change the comparison range
Base
main
76854fd
+19.12%
Code review feedback, revert in-place removal changes
3848ada
2 months ago
by MichaReiser
© 2026 CodSpeed Technology
Home Terms Privacy Docs