astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] Defer union of parameter types
#24756
Comparing
charlie/ty-1393-performance-iii
(
93501b2
) with
charlie/ty-1393-performance-i
(
c474889
)
CodSpeed Performance Gauge
×17
Improvement
4
Untouched
49
Skipped
60
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
113 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[vararg_parameter_type_accumulation]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_vararg_parameter_type_accumulation
CodSpeed Performance Gauge
×17
4,875.3 ms
282.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[gradual_vararg_call]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_gradual_vararg_call
CodSpeed Performance Gauge
×17
4,871.2 ms
287.2 ms
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[vararg_parameter_type_accumulation]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_vararg_parameter_type_accumulation
CodSpeed Performance Gauge
×4.8
161 MB
33.4 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[gradual_vararg_call]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_gradual_vararg_call
CodSpeed Performance Gauge
×4.7
162.1 MB
34.5 MB
Uses the
Wall Time instrument
to collect wall time performance metrics.
altair
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
5.3 s
5.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
CodSpeed Performance Gauge
0%
95.2 ms
94.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
CodSpeed Performance Gauge
0%
73 ms
72.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
0%
70.7 ms
70.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
CodSpeed Performance Gauge
0%
68.8 ms
68.6 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
7.7 s
7.7 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
CodSpeed Performance Gauge
0%
148.2 ms
148.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
CodSpeed Performance Gauge
0%
81.5 ms
81.5 ms
Uses the
Memory instrument
to collect Memory usage metrics.
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
0%
41.9 MB
41.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
CodSpeed Performance Gauge
0%
84.1 MB
84.1 MB
Uses the
Memory instrument
to collect Memory usage metrics.
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
CodSpeed Performance Gauge
0%
72.5 MB
72.5 MB
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
CodSpeed Performance Gauge
0%
8.1 ms
8.1 ms
Uses the
Memory instrument
to collect Memory usage metrics.
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
CodSpeed Performance Gauge
0%
22.3 MB
22.3 MB
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[pandas_tdd]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_pandas_tdd
CodSpeed Performance Gauge
0%
251.4 ms
251.4 ms
Uses the
Memory instrument
to collect Memory usage metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
0%
25.9 MB
25.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
CodSpeed Performance Gauge
0%
17.1 MB
17.1 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
CodSpeed Performance Gauge
0%
15.2 MB
15.2 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[pandas_tdd]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_pandas_tdd
CodSpeed Performance Gauge
0%
46.4 MB
46.4 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
CodSpeed Performance Gauge
0%
15.8 MB
15.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_protocol_members_mismatch]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_protocol_members_mismatch
CodSpeed Performance Gauge
0%
21.9 MB
21.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
CodSpeed Performance Gauge
0%
15.8 MB
15.8 MB
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
charlie/ty-1393-performance-i
c474889
×17
[ty] Defer union of parameter types
93501b2
8 hours ago
by charliermarsh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs