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

[ty] perform type narrowing for places marked `global` too

#19381Merged
Comparing
jack/global_place_narrowing
(
7357a3f
) with
main
(
dc10ab8
)
CodSpeed Performance Gauge
-1%
Archived
8

Benchmarks

8 total
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
28.9 s29 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
1.7 s1.7 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
7.1 s7.2 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
2.3 s2.3 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-4%
271 ms281.5 ms
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
4 s4.1 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
42.7 s42.9 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
-1%
2.4 s2.4 s

Commits

Click on a commit to change the comparison range
Base
main
dc10ab8
-11.39%
unify the calls to `narrow_place_with_applicable_constraints` in `infer_place_load`
fbdcc1c
7 months ago
by oconnor663
+10.63%
Revert "unify the calls to `narrow_place_with_applicable_constraints` in `infer_place_load`"
7357a3f
7 months ago
by oconnor663
© 2026 CodSpeed Technology
Home Terms Privacy Docs