astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[ty] implement `typing.TypeGuard`
#20974
Merged
Comparing
ericmarkmartin:typeguard
(
3071f8f
) with
main
(
9dadf27
)
CodSpeed Performance Gauge
-4%
Regression
1
Untouched
21
Skipped
30
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Untouched
Skipped
52 total
Uses the
Wall Time instrument
to collect wall time performance metrics.
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-4%
50.8 s
52.9 s
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
0%
67.8 ms
68 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%
68 ms
68.2 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
0%
121.8 ms
122.2 ms
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%
6.1 ms
6.2 ms
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.
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
CodSpeed Performance Gauge
0%
67.8 ms
68.2 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%
70.9 ms
71.2 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%
130.8 ms
131.6 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%
427.2 ms
430.3 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%
79.7 ms
80.4 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%
231 ms
233.1 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%
65.7 ms
66.3 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.
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-1%
7.9 s
8 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%
20.2 s
20.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
94.3 s
95.8 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
2.5 s
2.5 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
10.4 s
10.6 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
altair
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-2%
5.1 s
5.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-3%
62.3 s
64 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
-3%
1.4 s
1.4 s
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/default-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
Skipped
210.1 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/default-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
Skipped
1 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[numpy/globals.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
Skipped
247.6 µs
*
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
9dadf27
-0.33%
add more method test cases
fb19c6b
2 months ago
by ericmarkmartin
+0.01%
Apply suggestions from code review
e29596a
2 months ago
by carljm
-0.88%
Update crates/ty_python_semantic/src/types/narrow.rs
ee13ff2
2 months ago
by carljm
-2.84%
clippy
3071f8f
2 months ago
by carljm
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs