Avatar for the UnknownPlatypus user
UnknownPlatypus
djangofmt
BlogDocsChangelog

refactor(misc): avoid clone on check error path, add force_exclude tests

#239Merged
Comparing
fix/p1-audit-improvements
(
353f130
) with
main
(
2923267
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
build_summary_mixed[10]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
+2%
6.3 µs6.2 µs
build_summary_mixed[100]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
+2%
7.1 µs7 µs
build_summary_mixed[1000]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
+1%
10.5 µs10.3 µs
build_summary_mixed[10000]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
0%
41.5 µs41.3 µs
format_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
58 µs57.9 µs
check_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
110.4 µs110.3 µs
check_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
23.9 µs23.9 µs
format_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
511.6 µs511.1 µs
format_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
412.6 µs412.4 µs
format_templates[large/strip_tags1.html (1301 lines, 109394 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
22.8 ms22.8 ms
parse_templates[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
892.3 µs892.3 µs
check_templates[large/strip_tags1.html (1301 lines, 109394 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
format_templates[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
79.1 ms79.1 ms
check_templates[jinja_large/comparison_table_integrated.html (1740 lines, 130150 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
4.1 ms4.1 ms
parse_templates[jinja_large/comparison_table_integrated.html (1740 lines, 130150 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
3.6 ms3.6 ms
check_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
552.5 µs552.5 µs
parse_templates[large/strip_tags1.html (1301 lines, 109394 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
check_templates[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
958.8 µs959 µs
check_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
164.1 µs164.1 µs
parse_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
486.8 µs486.9 µs
check_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
143.9 µs144 µs
parse_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
152 µs152 µs
format_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
5 ms5 ms
parse_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
128 µs128.1 µs
format_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
530.1 µs530.5 µs

Commits

Click on a commit to change the comparison range
Base
main
2923267
+0.2%
refactor(misc): avoid clone on check error path, add force_exclude tests
353f130
7 days ago
by UnknownPlatypus
© 2026 CodSpeed Technology
Home Terms Privacy Docs