astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] Avoid redundant interning in hot paths
#25557
Comparing
micha/ty-avoid-redundant-interning
(
c9aedff
) with
main
(
d7f1a5b
)
CodSpeed Performance Gauge
-21%
Regression
1
Untouched
64
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
Regression
Untouched
Skipped
125 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[pydantic_core_schema_dict]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_pydantic_core_schema_dict
CodSpeed Performance Gauge
-21%
94.8 ms
120.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+2%
16.5 s
16.1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[typevar_mapping_accumulation]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typevar_mapping_large_accumulation
CodSpeed Performance Gauge
+2%
1.2 s
1.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
altair
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+2%
7.5 s
7.4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
CodSpeed Performance Gauge
+2%
3.6 s
3.5 s
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
+2%
8.9 ms
8.7 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+2%
93.3 s
91.8 s
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
+2%
14.8 MB
14.6 MB
Uses the
Wall Time instrument
to collect wall time performance metrics.
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
11.5 s
11.3 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
26.3 s
26 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
CodSpeed Performance Gauge
+1%
1.4 s
1.4 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
+1%
608.3 ms
603.3 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
+1%
212.7 ms
211.1 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
57.7 s
57.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
CodSpeed Performance Gauge
+1%
167.5 ms
166.3 ms
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
+1%
12.9 MB
12.8 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
+1%
14 MB
13.9 MB
Uses the
Wall Time instrument
to collect wall time performance metrics.
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+1%
82.3 s
81.9 s
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%
250 ms
248.8 ms
Uses the
Memory instrument
to collect Memory usage metrics.
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
0%
39.4 MB
39.3 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 MB
20.9 MB
Uses the
Memory instrument
to collect Memory usage metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
0%
22.9 MB
22.8 MB
Uses the
Memory instrument
to collect Memory usage metrics.
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
CodSpeed Performance Gauge
0%
75.2 MB
74.9 MB
Uses the
Wall Time instrument
to collect wall time performance metrics.
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
0%
3.7 s
3.7 s
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%
19.7 MB
19.6 MB
1
2
3
4
5
Commits
Click on a commit to change the comparison range
Base
main
d7f1a5b
-21.17%
[ty] Avoid redundant interning in hot paths
552d749
3 hours ago
by MichaReiser
+0.06%
Merge branch 'main' into micha/ty-avoid-redundant-interning
c9aedff
2 hours ago
by MichaReiser
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs