astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Enable lto=fat
#20863
Merged
Comparing
micha/fat-lto
(
6e2b809
) with
main
(
abf685b
)
CodSpeed Performance Gauge
-5%
Improvements
24
Regressions
1
(
1
)
Untouched
25
Archived
2
Benchmarks
2 archived benchmarks were run. If they were deleted in another branch, consider rebasing to remove them from the report.
Click here to see them
.
Improved
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
+18%
5.2 ms
4.4 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
medium[pandas]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+11%
34.7 s
31.2 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
medium[colour-science]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+11%
12.3 s
11.1 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
medium[static-frame]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+11%
9.6 s
8.7 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
large[sympy]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+10%
42.9 s
38.9 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-with-preview-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
+10%
2.1 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
+10%
1.8 ms
1.7 ms
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
+10%
805 µs
731.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-rules[numpy/globals.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
+10%
712.7 µs
648.1 µ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
+10%
935.8 ms
853 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
+9%
17.7 ms
16.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-with-preview-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
+9%
21.3 ms
19.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
small[altair]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+9%
2.6 s
2.4 s
Uses the
Wall Time instrument
to collect wall time performance metrics.
small[freqtrade]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+9%
4.9 s
4.5 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
CodSpeed Performance Gauge
+9%
898.9 ms
828.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
+8%
8.1 ms
7.5 ms
Uses the
Wall Time instrument
to collect wall time performance metrics.
small[tanjun]
crates/ruff_benchmark/benches/ty_walltime.rs
CodSpeed Performance Gauge
+8%
1.7 s
1.6 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-with-preview-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
+8%
9.6 ms
8.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::all_rules::benchmark_all_rules
CodSpeed Performance Gauge
+8%
4.2 ms
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/all-with-preview-rules[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/linter.rs::preview_rules::benchmark_preview_rules
CodSpeed Performance Gauge
+8%
4.9 ms
4.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
+8%
412.6 ms
382.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
CodSpeed Performance Gauge
+7%
194.9 ms
182.3 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
+7%
122.8 ms
115.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
+5%
92.6 ms
88.1 ms
Passed
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
+4%
72.9 ms
70.2 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
+3%
62.6 ms
60.6 ms
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
+3%
241.1 µs
233.5 µs
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
+3%
66.9 ms
64.9 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
+3%
63.8 ms
62 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
+3%
63.8 ms
61.9 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
+3%
63.9 ms
62.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[numpy/ctypeslib.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
+2%
1.9 ms
1.9 ms
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
+2%
662.5 µs
649.6 µ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
+2%
29.4 µs
28.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[pydantic/types.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
+2%
3.6 ms
3.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[large/dataset.py]
crates/ruff_benchmark/benches/formatter.rs::formatter::benchmark_formatter
CodSpeed Performance Gauge
+2%
9.5 ms
9.3 ms
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
+2%
76.1 µs
75 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[large/dataset.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
+1%
1.1 ms
1.1 ms
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
+1%
220.6 µs
218.7 µ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
+1%
930.7 µs
923.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[large/dataset.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
+1%
5 ms
4.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[pydantic/types.py]
crates/ruff_benchmark/benches/lexer.rs::lexer::benchmark_lexer
CodSpeed Performance Gauge
+1%
493.7 µs
489.8 µ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
+1%
321.2 µs
318.9 µ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%
106 µs
105.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[pydantic/types.py]
crates/ruff_benchmark/benches/parser.rs::parser::benchmark_parser
CodSpeed Performance Gauge
0%
2 ms
2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/default-rules[pydantic/types.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
-2%
2 ms
2.1 ms
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
CodSpeed Performance Gauge
-3%
959.2 µs
987.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/default-rules[large/dataset.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
-3%
4 ms
4.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter/default-rules[unicode/pypinyin.py]
crates/ruff_benchmark/benches/linter.rs::default_rules::benchmark_default_rules
CodSpeed Performance Gauge
-4%
376.8 µs
391.7 µs
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
Regression
CodSpeed Performance Gauge
-5%
194.4 µs
205.3 µs
Commits
Click on a commit to change the comparison range
Base
main
abf685b
-5.57%
Enable fat LTO
e4a4964
1 month ago
by MichaReiser
+0.29%
Update Cargo.toml Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
6e2b809
1 month ago
by MichaReiser
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs