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

[ty] Fix subtyping of invariant generics specialized with `Any`

#20650Merged
Comparing
alex/non-fully-static-subtyping
(
e790951
) with
main
(
d9473a2
)
CodSpeed Performance Gauge
+69%
Archived
9

Benchmarks

9 total
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.6 s2.6 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+2%
33.7 s32.9 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
42.8 s42.3 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.5 s2.5 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+69%
9.2 s5.5 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
8.9 s8.9 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
10.5 s10.5 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
1.7 s1.7 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
285.6 ms286.3 ms

Commits

Click on a commit to change the comparison range
Base
main
d9473a2
+69.29%
[ty] Fix subtyping of invariant generics specialized with `Any`
bfba8cf
4 months ago
by AlexWaygood
-0.77%
improve comment
e790951
4 months ago
by AlexWaygood
© 2026 CodSpeed Technology
Home Terms Privacy Docs