Avatar for the astral-sh user
astral-sh
ruff
Instrumentation
Wall Time
BlogDocsChangelog

[ty] more precise lazy scope place lookup

#19932Merged
Comparing
mtshiba:lazy-scope-place-lookup2
(
878ff59
) with
main
(
aa5d665
)
CodSpeed Performance Gauge
0%
Untouched
43

Benchmarks

Passed

attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project::attrs
CodSpeed Performance Gauge
+2%
369 ms361.5 ms
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project::anyio
CodSpeed Performance Gauge
+1%
850.8 ms844.1 ms
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental::ty_check_file[incremental]
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project::hydra-zen
CodSpeed Performance Gauge
0%
715.1 ms714.7 ms
linter/all-with-preview-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
linter/all-with-preview-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[numpy/globals.py]
CodSpeed Performance Gauge
0%
794.8 µs794.8 µs
parser[numpy/globals.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[numpy/globals.py]
CodSpeed Performance Gauge
0%
106.4 µs106.4 µs
linter/default-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
382.4 µs382.3 µs
linter/all-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
linter/all-with-preview-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
2.1 ms2.1 ms
linter/all-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
linter/all-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[numpy/globals.py]
CodSpeed Performance Gauge
0%
701.4 µs701.3 µs
parser[unicode/pypinyin.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
321 µs321 µs
linter/all-with-preview-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[pydantic/types.py]
CodSpeed Performance Gauge
0%
10.2 ms10.2 ms
lexer[unicode/pypinyin.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
75.6 µs75.6 µs
lexer[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
219.6 µs219.6 µs
lexer[numpy/globals.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[numpy/globals.py]
CodSpeed Performance Gauge
0%
29.1 µs29.1 µs
lexer[large/dataset.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[large/dataset.py]
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
lexer[pydantic/types.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer::lexer[pydantic/types.py]
CodSpeed Performance Gauge
0%
491.8 µs491.8 µs
linter/default-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
978.3 µs978.3 µs
parser[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
927.4 µs927.4 µs
linter/default-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[large/dataset.py]
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
parser[large/dataset.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[large/dataset.py]
CodSpeed Performance Gauge
0%
5 ms5 ms
parser[pydantic/types.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser::parser[pydantic/types.py]
CodSpeed Performance Gauge
0%
2 ms2 ms
linter/all-with-preview-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules::linter/all-with-preview-rules[large/dataset.py]
CodSpeed Performance Gauge
0%
21.1 ms21.1 ms
linter/default-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[pydantic/types.py]
CodSpeed Performance Gauge
0%
2 ms2 ms
formatter[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[numpy/ctypeslib.py]
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
linter/all-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[pydantic/types.py]
CodSpeed Performance Gauge
0%
8.6 ms8.6 ms
linter/default-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules::linter/default-rules[numpy/globals.py]
CodSpeed Performance Gauge
0%
195.8 µs195.8 µs
formatter[large/dataset.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[large/dataset.py]
CodSpeed Performance Gauge
0%
9.5 ms9.5 ms
linter/all-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules::linter/all-rules[large/dataset.py]
CodSpeed Performance Gauge
0%
17.3 ms17.3 ms
formatter[pydantic/types.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[pydantic/types.py]
CodSpeed Performance Gauge
0%
3.5 ms3.5 ms
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[numpy/globals.py]
CodSpeed Performance Gauge
0%
240.4 µs240.4 µs
formatter[unicode/pypinyin.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter::formatter[unicode/pypinyin.py]
CodSpeed Performance Gauge
0%
662.5 µs662.6 µs
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project::DateType
CodSpeed Performance Gauge
0%
265.9 ms266.6 ms
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members::ty_micro[many_enum_members]
CodSpeed Performance Gauge
0%
93.8 ms94.1 ms
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold::ty_check_file[cold]
CodSpeed Performance Gauge
0%
119.5 ms120.1 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes::ty_micro[many_tuple_assignments]
CodSpeed Performance Gauge
-1%
63 ms63.3 ms
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2::ty_micro[complex_constrained_attributes_2]
CodSpeed Performance Gauge
-1%
63.2 ms63.6 ms
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments::ty_micro[many_string_assignments]
CodSpeed Performance Gauge
-1%
72.6 ms73.1 ms
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3::ty_micro[complex_constrained_attributes_3]
CodSpeed Performance Gauge
-1%
66.6 ms67.2 ms
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments::ty_micro[many_tuple_assignments]
CodSpeed Performance Gauge
-1%
61.7 ms62.3 ms
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1::ty_micro[complex_constrained_attributes_1]
CodSpeed Performance Gauge
-1%
63.1 ms63.7 ms

Commits

Click on a commit to change the comparison range
Base
main
aa5d665
-9.08%
[ty] more precise lazy scope place lookup
6239fee
28 days ago
by mtshiba
-0.15%
Merge branch 'main' into lazy-scope-place-lookup2
f33d2e2
21 days ago
by mtshiba
+9.31%
Compare the terminal bindings with the captured bindings and decide whether to keep the lazy snapshot
6898535
21 days ago
by mtshiba
-0.75%
Introduce `SnapshotCompleteness` to retain and utilize incomplete snapshots
4225c28
20 days ago
by mtshiba
+0.01%
Perform exact boundness analysis if the snapshot is complete
b0bdffd
20 days ago
by mtshiba
-0.01%
Revert "Perform exact boundness analysis if the snapshot is complete" This reverts commit b0bdffda9bde60a52f806871897a190650ccfa0e.
957e463
20 days ago
by mtshiba
0%
Update use_def.rs
c9f2625
20 days ago
by mtshiba
+0.37%
remove unnecessary code
5a07823
19 days ago
by mtshiba
+0.07%
Partially revert "remove unnecessary code" This reverts commit 5a078235af7b82faa6671b842b47c9937a2a0c07.
cd233a2
18 days ago
by mtshiba
-6.89%
Update lazy snapshots on every reassignment
376c127
6 days ago
by mtshiba
0%
Update nested.md
614b934
5 days ago
by mtshiba
+2.12%
revert unnecessary changes
3fc81ab
5 days ago
by mtshiba
+0.21%
Fix the condition for updating lazy snapshots
418ae89
4 days ago
by mtshiba
+4.17%
optimize snapshot updates
70bcb0e
4 days ago
by mtshiba
+0.5%
Fix incorrectly determining that a function was reassigned when it was first defined
1a4e6fe
4 days ago
by mtshiba
+0.03%
Revert "optimize snapshot updates" This reverts commit 70bcb0ee50b6dbe01de44bbc1344d4415d4b5a9e.
f9c3fcf
4 days ago
by mtshiba
+0.01%
minor changes in use_def.rs
432c252
4 days ago
by mtshiba
0%
Doc additions
878ff59
4 days ago
by carljm
© 2025 CodSpeed Technology
Home Terms Privacy Docs