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

[ty] Use generator over list comprehension to avoid cast

#21748Merged
Comparing
micha/benchmarks-remove-cast
(
c98311c
) with
main
(
72304b0
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
13
Archived
9

Benchmarks

13 total
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.1 s*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
67.6 ms*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
255.1 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
448.4 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
77 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.4 s*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
67.7 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
136 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
6.8 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
125.7 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
67.4 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
66 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
71.1 ms*

Commits

Click on a commit to change the comparison range
Base
main
72304b0
0%
[ty] Use generator over list comprehension to avoid cast
c98311c
2 months ago
by MichaReiser
© 2026 CodSpeed Technology
Home Terms Privacy Docs