astral-sh
ruff
BlogDocsChangelog

[ty] [experiment] Add `ReturnsNever` constraints only in function scopes.

#19114Closed
Comparing
abhijeetbodas2001:never-only-function-scopes
(
7e45c45
) with
main
(
9fc04d6
)
CodSpeed Performance Gauge
-48%
Regressions
4
Untouched
2
Archived
2

Benchmarks

Failed

large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Regression
CodSpeed Performance Gauge
-48%
51.3 s99.6 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Regression
CodSpeed Performance Gauge
-11%
4.5 s5.1 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Regression
CodSpeed Performance Gauge
-13%
8.4 s9.7 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Regression
CodSpeed Performance Gauge
-15%
33.4 s39.2 s

Passed

small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
3 s3 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
2 s2 s

Commits

Click on a commit to change the comparison range
Base
main
9fc04d6
-48.49%
only add ReturnsNever constraints in function scopes?
7e45c45
5 months ago
by abhijeetbodas2001
© 2025 CodSpeed Technology
Home Terms Privacy Docs