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

[red-knot] detect unreachable attribute assignments

#16852Merged
Comparing
mtshiba:unreachable-attribute-assignments
(
e52f9d6
) with
main
(
3aa3ee8
)
CodSpeed Performance Gauge
0%
Untouched
32

Benchmarks

32 total
red_knot_check_file[incremental]
crates/ruff_benchmark/benches/red_knot.rs::check_file::benchmark_incremental
CodSpeed Performance Gauge
0%
5.5 ms5.5 ms
linter/default-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
203.2 µs203.1 µs
linter/all-with-preview-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
863.3 µs863.2 µs
linter/all-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
744.8 µs744.7 µs
linter/default-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
973.2 µs973.1 µs
linter/default-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
376.1 µs376.1 µs
linter/all-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
parser[pydantic/types.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
2 ms2 ms
linter/default-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
2 ms2 ms
parser[large/dataset.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
linter/all-with-preview-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
formatter[unicode/pypinyin.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
663 µs663 µs
lexer[numpy/globals.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
29 µs29 µs
lexer[large/dataset.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
formatter[large/dataset.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
9.5 ms9.5 ms
formatter[pydantic/types.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
parser[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
917.7 µs917.7 µs
linter/all-with-preview-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
5.1 ms5.1 ms
linter/default-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
0%
4 ms4 ms
formatter[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
linter/all-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
4.3 ms4.3 ms
linter/all-with-preview-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
240.9 µs240.9 µs
linter/all-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
8.8 ms8.8 ms
linter/all-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms

Commits

Click on a commit to change the comparison range
Base
main
3aa3ee8
-0.02%
[red-knot] detect unreachable attribute assignments
05bdc60
11 months ago
by mtshiba
0%
Merge remote-tracking branch 'upstream/main' into unreachable-attribute-assignments
a5c8278
11 months ago
by mtshiba
-4.13%
Merge remote-tracking branch 'upstream/main' into unreachable-attribute-assignments
ac3998c
11 months ago
by mtshiba
-0.52%
track `implicit_instance_attribute`
2ecfa99
11 months ago
by mtshiba
+0.24%
revert unnecessary changes
a15cd47
11 months ago
by mtshiba
-0.13%
don't wrap `instance_attribute_table`s in `Arc`
8ce9bea
11 months ago
by mtshiba
+4.57%
don't use `Expression` in `Definition`
8656766
11 months ago
by mtshiba
+0.02%
Merge remote-tracking branch 'upstream/main' into unreachable-attribute-assignments
34965a9
11 months ago
by mtshiba
-0.02%
check unbound visibility
5461f76
11 months ago
by mtshiba
0%
add test cases
960f52c
11 months ago
by mtshiba
-0.02%
Merge remote-tracking branch 'upstream/main' into unreachable-attribute-assignments
ec8a41f
11 months ago
by mtshiba
+0.01%
remove unnecessary code
e45cef1
11 months ago
by mtshiba
0%
refactor: `name_ast_id` -> `target_ast_id`
491e177
11 months ago
by mtshiba
0%
Merge two possibly-unbound tests into one
e52f9d6
10 months ago
by sharkdp
© 2026 CodSpeed Technology
Home Terms Privacy Docs