astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] Respect `__new__` and metaclass `__call__` return types
#22317
Comparing
charlie/metaclass
(
0de7689
) with
main
(
2d16d84
)
CodSpeed Performance Gauge
0%
Untouched
54
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
54 total
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
+1%
68.8 ms
67.8 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
+1%
78.3 ms
77.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
+1%
238.6 ms
235.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
CodSpeed Performance Gauge
+1%
68.4 ms
67.5 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
+1%
66.6 ms
65.7 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
+1%
69.8 ms
69 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
+1%
68.5 ms
67.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
CodSpeed Performance Gauge
+1%
438.3 ms
433.7 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
+1%
71.7 ms
71 ms
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
+1%
124.1 ms
123.2 ms
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.2 s
1.2 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%
94 s
93.3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
CodSpeed Performance Gauge
+1%
154.6 ms
153.7 ms
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%
131.6 ms
130.9 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 s
6.9 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
0%
1.2 s
1.2 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[numpy/globals.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
30.2 µs
30.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
948.9 µs
947.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[numpy/globals.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
107.8 µs
107.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[unicode/pypinyin.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
79.1 µs
79.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
247.8 µs
247.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-with-preview-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
0%
842.3 µs
842.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
0%
228 µs
228 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[unicode/pypinyin.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
0%
689.1 µs
689 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[unicode/pypinyin.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
326.8 µs
326.8 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
2d16d84
+0.17%
Ask Claude to do another pass after reading the spec
0de7689
1 day ago
by charliermarsh
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs