astral-sh
ruff
BlogDocsChangelog

[ty] Don't consider bound `self` parameter when comparing bound methods

#20692Closed
Comparing
dcreager/bound-method-assignability
(
4060082
) with
main
(
f73ead1
)
CodSpeed Performance Gauge
+11%
Improvements
1
Untouched
7
Ignored
1

Benchmarks

Improved

medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+11%
10.7 s9.6 s

Passed

small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
2.6 s2.5 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
2.6 s2.6 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
1.7 s1.7 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
33.2 s32.9 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
41.7 s41.4 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
5.4 s5.3 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
9.2 s9.2 s

Ignored

multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Ignored
CodSpeed Performance Gauge
0%
295 ms294.8 ms

Commits

Click on a commit to change the comparison range
Base
main
f73ead1
+10.87%
don't consider self
4060082
11 days ago
by dcreager
© 2025 CodSpeed Technology
Home Terms Privacy Docs