astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] narrow tagged unions of `TypedDict`
#22104
Comparing
typeddict_union_narrowing
(
04ee4dc
) with
main
(
4745d15
)
CodSpeed Performance Gauge
+5%
Improvements
1
Untouched
8
Skipped
43
Benchmarks
Skipped (43)
Improved
Uses the
Wall Time instrument
to collect wall time performance metrics.
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+5%
10.8 s
10.3 s
Passed
Uses the
Wall Time instrument
to collect wall time performance metrics.
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
51.3 s
50.8 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
1.4 s
1.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
8 s
8 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
20.4 s
20.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
2.5 s
2.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
61.8 s
61.9 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
altair
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
5.1 s
5.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
89.1 s
89.9 s
Commits
Click on a commit to change the comparison range
Base
main
4745d15
-38%
Alex's edits
ae2d96f
11 hours ago
by oconnor663
+43.2%
different approach: synthesized *negated* typeddicts with possibly negated fields
04ee4dc
4 hours ago
by oconnor663
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs