astral-sh
ruff
BlogDocsChangelog

[ty] Add support for `P.args` and `P.kwargs`

#21445
Comparing
dhruv/paramspec-args-kwargs
(
31438c0
) with
main
(
adf095e
)
CodSpeed Performance Gauge
0%
Untouched
13
Skipped
39

Benchmarks

Skipped (39)

Passed

ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
+1%
70.6 ms69.9 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.2 ms
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.2 ms
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
CodSpeed Performance Gauge
+1%
76.8 ms76.2 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
CodSpeed Performance Gauge
+1%
66 ms65.7 ms
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
CodSpeed Performance Gauge
0%
94.5 ms94.1 ms
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
0%
448.9 ms447.1 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
CodSpeed Performance Gauge
0%
67.1 ms66.9 ms
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
CodSpeed Performance Gauge
0%
138.3 ms137.9 ms
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
CodSpeed Performance Gauge
0%
1.4 s1.4 s
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
CodSpeed Performance Gauge
0%
1.1 s1.1 s
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
CodSpeed Performance Gauge
0%
6.8 ms6.8 ms
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
0%
255.8 ms256.7 ms

Commits

Click on a commit to change the comparison range
Base
main
adf095e
-0.38%
Add support for `P.args` and `P.kwargs`
97dd83d
11 days ago
by dhruvmanila
-0.33%
Avoid raising error when `P` is used in invalid context
c32615a
11 days ago
by dhruvmanila
+0.18%
Merge branch 'main' into dhruv/paramspec-args-kwargs
b6d20ee
7 days ago
by dhruvmanila
+0.55%
Restrict callable upcast during specialization
d0b846a
5 days ago
by dhruvmanila
-0.29%
Consider `(*args: P.args, **kwargs: P.kwargs)` equivalent to `(**P)`
683e8b7
5 days ago
by dhruvmanila
+0.1%
Fix constraint set to represent `P1 = P2`
87cb422
5 days ago
by dhruvmanila
+0.92%
Merge branch 'main' into dhruv/paramspec-args-kwargs
06e3737
4 days ago
by dhruvmanila
-0.35%
Fix merge errors
31438c0
4 hours ago
by dhruvmanila
© 2025 CodSpeed Technology
Home Terms Privacy Docs