Avatar for the astral-sh user
astral-sh
ruff
Instrumentation
Wall Time
BlogDocsChangelog

[ty] Proper assignability/subtyping checks for protocols with method members

#20165
Comparing
alex/method-members
(
2a9bd80
) with
main
(
6f2b874
)
CodSpeed Performance Gauge
-4%
Improvements
0
Regressions
1
Untouched
7
New
0
Dropped
0
Ignored
1

Benchmarks

Failed

large[sympy]Regression
crates/ruff_benchmark/benches/ty_walltime.rs::large[sympy]
CodSpeed Performance Gauge
-4%
39.9 s
41.5 s

Passed

small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs::small[altair]
CodSpeed Performance Gauge
+1%
2.5 s
2.5 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs::small[freqtrade]
CodSpeed Performance Gauge
0%
4.1 s
4.1 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs::small[tanjun]
CodSpeed Performance Gauge
0%
1.7 s
1.7 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs::small[pydantic]
CodSpeed Performance Gauge
-1%
2.3 s
2.3 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs::medium[pandas]
CodSpeed Performance Gauge
-1%
25.9 s
26.3 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs::medium[colour-science]
CodSpeed Performance Gauge
-3%
6.9 s
7.1 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs::medium[static-frame]
CodSpeed Performance Gauge
-3%
7.9 s
8.1 s

Ignored

multithreaded[pydantic]Ignored
crates/ruff_benchmark/benches/ty_walltime.rs::multithreaded[pydantic]
CodSpeed Performance Gauge
-6%
268.9 ms
285.7 ms

Commits

Click on a commit to change the comparison range
Base
main
6f2b874
-1.03%
[ty] Proper assignability/subtyping checks for protocols with method members
992a04f
5 days ago
by AlexWaygood
-0.57%
hack for `Hashable`
27a967d
5 days ago
by AlexWaygood
+0.29%
hack to make `str` a subtype of `Container[str]`
b8b11db
5 days ago
by AlexWaygood
-2.69%
fix descriptor lookup of methods
2a9bd80
4 days ago
by AlexWaygood
© 2025 CodSpeed Technology
Home Terms Privacy Docs