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

Fix finding keyword range for clause header after statement ending with semicolon

#21067Merged
Comparing
dylwil3:clause-semicolon
(
98e5f8c
) with
main
(
db0e921
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
13
Archived
9

Benchmarks

13 total
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
61 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
118 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
385 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
62.3 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
62 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
934 ms*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
191.7 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
4.8 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
784.4 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
70.8 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
65.1 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
62 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
84.9 ms*

Commits

Click on a commit to change the comparison range
Base
main
db0e921
+0.01%
refactor `find_keyword` with `StartPosition` enum
98e5f8c
9 months ago
by dylwil3
© 2026 CodSpeed Technology
Home Terms Privacy Docs