astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] Fix panics from recursive protocol expansion
#24981
Comparing
charlie/protocol-recursion
(
112c186
) with
main
(
b409cbe
)
CodSpeed Performance Gauge
+27%
Improvement
1
Untouched
56
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
117 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_protocol_members_mismatch]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_protocol_members_mismatch
CodSpeed Performance Gauge
+27%
367 ms
289.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[typevar_mapping_small_accumulations]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typevar_mapping_small_accumulations
CodSpeed Performance Gauge
0%
180.9 ms
180.6 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%
83.4 ms
83.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
CodSpeed Performance Gauge
0%
79.1 ms
79.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
CodSpeed Performance Gauge
0%
73.1 ms
73.1 ms
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
CodSpeed Performance Gauge
0%
16.9 MB
16.9 MB
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
0%
14.6 MB
14.6 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.7 MB
46.7 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.3 MB
17.3 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
0%
15.3 MB
15.3 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_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
CodSpeed Performance Gauge
0%
18.2 MB
18.2 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[typeis_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typeis_narrowing
CodSpeed Performance Gauge
0%
21.8 MB
21.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
0%
15.8 MB
15.8 MB
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.7 MB
22.7 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[typevar_mapping_small_accumulations]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typevar_mapping_small_accumulations
CodSpeed Performance Gauge
0%
15.6 MB
15.6 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[typevar_mapping_accumulation]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typevar_mapping_large_accumulation
CodSpeed Performance Gauge
0%
32.6 MB
32.6 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%
16 MB
16 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[large_union_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_union_narrowing
CodSpeed Performance Gauge
0%
21.9 MB
21.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
CodSpeed Performance Gauge
0%
17.9 MB
17.9 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.3 MB
15.3 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
CodSpeed Performance Gauge
0%
15.5 MB
15.5 MB
Uses the
Memory instrument
to collect Memory usage metrics.
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
CodSpeed Performance Gauge
0%
16.8 MB
16.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
0%
42.7 MB
42.7 MB
Uses the
Memory instrument
to collect Memory usage metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
0%
26.2 MB
26.2 MB
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
main
b409cbe
-31.77%
Add non-protocol
fcdc789
13 hours ago
by charliermarsh
+5.61%
Clean up
bb11070
12 hours ago
by charliermarsh
-2.34%
Change visitors
04af407
11 hours ago
by charliermarsh
+55.27%
Laziness
112c186
9 hours ago
by charliermarsh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs