astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] Preserve receiver constraints when binding overloaded methods
#25468
Comparing
charlie/constraint-when
(
18579ba
) with
charlie/bind-selfs
(
348213d
)
CodSpeed Performance Gauge
-2%
Improvement
1
Regression
2
Untouched
62
Skipped
60
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
Skipped
125 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-7%
56 s
60.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
CodSpeed Performance Gauge
-4%
3.5 s
3.7 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+5%
37.1 s
35.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+3%
2.4 s
2.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
altair
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+2%
7.6 s
7.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
93.6 s
92.9 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
11.5 s
11.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
82.3 s
81.8 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
CodSpeed Performance Gauge
0%
151 ms
150.8 ms
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[pandas_tdd]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_pandas_tdd
CodSpeed Performance Gauge
0%
41.9 MB
41.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
0%
24.2 MB
24.2 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
CodSpeed Performance Gauge
0%
161.5 KB
161.5 KB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
CodSpeed Performance Gauge
0%
20.8 MB
20.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
CodSpeed Performance Gauge
0%
14.8 MB
14.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[literal_match_fallthrough]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_literal_match_fallthrough
CodSpeed Performance Gauge
0%
12.8 MB
12.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[literal_equality_fallthrough_guarded_any]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_literal_equality_fallthrough_guarded_any
CodSpeed Performance Gauge
0%
15 MB
15 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[typeis_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typeis_narrowing
CodSpeed Performance Gauge
0%
21.8 MB
21.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
CodSpeed Performance Gauge
0%
16.7 MB
16.7 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
CodSpeed Performance Gauge
0%
14.1 MB
14.1 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
CodSpeed Performance Gauge
0%
13.6 MB
13.6 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_protocol_members_mismatch]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_protocol_members_mismatch
CodSpeed Performance Gauge
0%
20.2 MB
20.2 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
0%
14.3 MB
14.3 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
CodSpeed Performance Gauge
0%
15.4 MB
15.4 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[literal_match_fallthrough_guarded_any]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_literal_match_fallthrough_guarded_any
CodSpeed Performance Gauge
0%
16.5 MB
16.5 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
CodSpeed Performance Gauge
0%
15.8 MB
15.8 MB
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
charlie/bind-selfs
348213d
-2.17%
[ty] Preserve receiver constraints when binding overloaded methods
18579ba
9 hours ago
by charliermarsh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs