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

[ty] Do not consider a type `T` to satisfy a method member on a protocol unless the method is available on the meta-type of `T`

#19187Merged
Comparing
alex/method-metatype
(
25b9d54
) with
main
(
59aa869
)
CodSpeed Performance Gauge
+1%
Archived
8

Benchmarks

8 total
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-2%
9.2 s9.4 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+2%
55.9 s54.8 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
36.6 s36.3 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
2 s2 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
331.3 ms332.1 ms
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
3 s3 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.9 s2.9 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
4.9 s4.8 s

Commits

Click on a commit to change the comparison range
Base
main
59aa869
+0.53%
another test
25b9d54
8 months ago
by AlexWaygood
© 2026 CodSpeed Technology
Home Terms Privacy Docs