Avatar for the UnknownPlatypus user
UnknownPlatypus
djangofmt
BlogDocsChangelog

refactor: quick wins for code quality and simplification

#235Merged
Comparing
quick-wins
(
b00ea9b
) with
main
(
6ba6a80
)
CodSpeed Performance Gauge
×18
Improvement
4
Untouched
24

Benchmarks

28 total
build_summary_mixed[10000]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
×18
736.6 µs41.4 µs
build_summary_mixed[1000]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
×7.9
82.5 µs10.4 µs
build_summary_mixed[100]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
×2.3
16.1 µs7 µs
build_summary_mixed[10]
crates/djangofmt_benchmark/benches/summary.rs
CodSpeed Performance Gauge
+50%
9.4 µs6.2 µs
format_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
58.2 µs58 µs
format_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
412.9 µs412.3 µs
check_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
23.9 µs23.8 µs
parse_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
100.3 µs100.2 µ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
format_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
531 µs530.6 µ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
format_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
511.7 µs511.6 µs
check_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
552.6 µs552.5 µs
parse_templates[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
892.3 µs892.2 µs
format_templates[jinja_large/comparison_table_integrated.html (1740 lines, 130150 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
23.3 ms23.3 ms
check_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
143.9 µs143.9 µs
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[large/strip_tags1.html (1301 lines, 109394 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
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
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
parse_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
21.5 µs21.5 µs
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
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
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 µs164.1 µs

Commits

Click on a commit to change the comparison range
Base
main
6ba6a80
×18
fix
b00ea9b
9 days ago
by UnknownPlatypus
© 2026 CodSpeed Technology
Home Terms Privacy Docs