astral-sh
ruff
BlogDocsChangelog

[ty] WIP: Check typevar assignability using constraint sets

#20093
Comparing
dcreager/real-constraint-sets
(
cb37f7a
) with
main
(
adf095e
)
CodSpeed Performance Gauge
-7%
Regressions
4
Untouched
9
Skipped
39

Benchmarks

Skipped (39)

Failed

anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Regression
CodSpeed Performance Gauge
-7%
1.4 s1.5 s
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Regression
CodSpeed Performance Gauge
-4%
6.8 ms7.1 ms
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Regression
CodSpeed Performance Gauge
-5%
1.1 s1.1 s
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Regression
CodSpeed Performance Gauge
-7%
255.8 ms276.3 ms

Passed

ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
CodSpeed Performance Gauge
+1%
70.7 ms70.3 ms
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
CodSpeed Performance Gauge
+1%
70.8 ms70.4 ms
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
0%
70.6 ms70.3 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
CodSpeed Performance Gauge
0%
66 ms65.8 ms
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
CodSpeed Performance Gauge
0%
94.5 ms94.4 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
CodSpeed Performance Gauge
0%
67.1 ms67 ms
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
CodSpeed Performance Gauge
0%
76.8 ms77 ms
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
-3%
448.9 ms464 ms
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
CodSpeed Performance Gauge
-3%
138.3 ms143.1 ms

Commits

Click on a commit to change the comparison range
Base
main
adf095e
-7.98%
codex experiments
3bc3ced
16 days ago
by dcreager
+0.57%
flip the algebra
cb37f7a
16 days ago
by dcreager
© 2025 CodSpeed Technology
Home Terms Privacy Docs