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

Avoid inserting redundant `None` elements in UP045

#23459Merged
Comparing
charlie/none
(
bf592e5
) with
main
(
033a4fb
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
26

Benchmarks

26 total
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
6.1 s*
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
1.2 s*
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
9.2 s*
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
31.3 s*
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
63.9 s*
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
126.7 s*
altair
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
4.8 s*
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
2.8 s*
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
79.8 s*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
216.4 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.3 s*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
477.1 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
76.2 ms*
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
Skipped
167.3 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
70.2 ms*
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
Skipped
71.5 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.2 s*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
80 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
67.9 ms*
ty_micro[large_union_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_union_narrowing
Skipped
498.3 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
70.1 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
130.8 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
149.7 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
70.3 ms*
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
Skipped
144.4 ms*

Commits

Click on a commit to change the comparison range
Base
main
033a4fb
-0.23%
Avoid inserting redundant None elements
bf592e5
27 days ago
by charliermarsh
© 2026 CodSpeed Technology
Home Terms Privacy Docs