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

[ty] Apply type mappings to functions eagerly

#20596Merged
Comparing
dcreager/stop-being-lazy
(
5fb5cc6
) with
main
(
3f640da
)
CodSpeed Performance Gauge
+7%
Archived
9

Benchmarks

9 total
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
2.4 s2.4 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
2.5 s2.5 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
31.1 s30.7 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
1.6 s1.6 s
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+2%
7.9 s7.8 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
0%
9.6 s9.5 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
8.4 s8.3 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+7%
42.9 s40.1 s
multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
Archived
CodSpeed Performance Gauge
+1%
289.5 ms286.3 ms

Commits

Click on a commit to change the comparison range
Base
main
3f640da
+6.89%
remove superfluous lifetimes
cec807d
5 months ago
by sharkdp
-0.04%
Add doc comments for updated_* fields, make them non-public
5fb5cc6
5 months ago
by sharkdp
© 2026 CodSpeed Technology
Home Terms Privacy Docs