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

[ty] Perform assignability etc checks using new `Constraints` trait

#19838Merged
Comparing
dcreager/relation-with-constraints
(
f10babf
) with
main
(
045cba3
)
CodSpeed Performance Gauge
0%
Archived
9

Benchmarks

9 total
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
38.9 s38.7 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
3.8 s3.8 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
6.4 s6.4 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.2 s2.2 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.4 s2.4 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+5%
278.8 ms264.3 ms
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
24.7 s24.6 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
7.5 s7.5 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
1.6 s1.6 s

Commits

Click on a commit to change the comparison range
Base
main
045cba3
-0.14%
use constraints for has_relation_to
1e5c45d
6 months ago
by dcreager
+0.24%
document constraints
7499478
6 months ago
by dcreager
-0.66%
use constraints for is_subclass_of
a1efedb
6 months ago
by dcreager
+1.31%
Merge branch 'main' into dcreager/relation-with-constraints
5ac0467
6 months ago
by dcreager
-0.53%
Update crates/ty_python_semantic/src/types/constraints.rs
8188a89
6 months ago
by dcreager
-0.02%
document the module
86bd115
6 months ago
by dcreager
+0.14%
Apply suggestions from code review
f10babf
6 months ago
by dcreager
© 2026 CodSpeed Technology
Home Terms Privacy Docs