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

[ty] Preserve qualifiers when accessing attributes on unions/intersections

#20114Merged
Comparing
david/attribute-access-on-intersections-again
(
1760fd6
) with
main
(
7d0c8e0
)
CodSpeed Performance Gauge
-1%
Archived
9

Benchmarks

9 total
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
2.2 s2.3 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
39.2 s39.4 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
3.9 s3.9 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
24.9 s25.2 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-2%
285.4 ms292.6 ms
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
6.5 s6.5 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.4 s2.4 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
7.5 s7.6 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
1.6 s1.6 s

Commits

Click on a commit to change the comparison range
Base
main
7d0c8e0
-0.84%
[ty] Fix attribute access on intersection types
1760fd6
6 months ago
by sharkdp
© 2026 CodSpeed Technology
Home Terms Privacy Docs