astral-sh
ruff
BlogDocsChangelog

[ty] infer `name` and `value` for enum members

#20311Merged
Comparing
thejchap:thejchap/enum-members
(
78528f6
) with
main
(
d121a76
)
CodSpeed Performance Gauge
0%
Untouched
9

Benchmarks

Passed

multithreaded[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+6%
285 ms269.5 ms
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
4 s4 s
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
1.6 s1.6 s
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
2.5 s2.5 s
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
41.1 s41 s
small[pydantic]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
2.3 s2.3 s
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
26.1 s26 s
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
8.4 s8.4 s
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
6.9 s6.9 s

Commits

Click on a commit to change the comparison range
Base
main
d121a76
+0.19%
[ty] infer type for enum members https://github.com/astral-sh/ty/issues/876
63fd2f4
2 months ago
by thejchap
0%
Move tests out of members/non-members section
78528f6
2 months ago
by sharkdp
© 2025 CodSpeed Technology
Home Terms Privacy Docs