Avatar for the UnknownPlatypus user
UnknownPlatypus
djangofmt
BlogDocsChangelog

Improve formatting of django blocks

#209
Comparing
markup_fmt/fe238c8f
(
8a85f88
) with
main
(
720c3cd
)
CodSpeed Performance Gauge
+10%
Improvement
2
Untouched
22

Benchmarks

24 total
format_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
+10%
511.7 µs464.6 µs
format_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
+7%
412.9 µs386.6 µs
format_templates[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
+2%
531 µs520.7 µs
format_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
+1%
5 ms4.9 ms
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
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[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[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
892.3 µs892.5 µs
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[tag_dense/change_form.html (84 lines, 3374 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
128 µs128.1 µ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[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/formatter.rs
CodSpeed Performance Gauge
0%
58.2 µs58.2 µ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
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
check_templates[deeply_nested/project_invitation.html (349 lines, 52304 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
958.8 µs960.1 µs
parse_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
152 µs152.2 µs
parse_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
100.3 µs100.5 µs
parse_templates[external_format/technical_500.html (491 lines, 17919 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
486.8 µs487.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.2 µs
parse_templates[small/404.html (10 lines, 284 bytes)]
crates/djangofmt_benchmark/benches/parser.rs
CodSpeed Performance Gauge
0%
21.5 µs21.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 µs553.9 µs
check_templates[attr_dense/slim_header.html (140 lines, 7044 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
164 µs164.4 µs
check_templates[form_heavy/login.html (76 lines, 3118 bytes)]
crates/djangofmt_benchmark/benches/linter.rs
CodSpeed Performance Gauge
0%
110.4 µs110.7 µ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.5 ms

Commits

Click on a commit to change the comparison range
Base
main
720c3cd
-0.15%
Update markupfmt to fe238c8f
240ea1e
1 month ago
by UnknownPlatypus
+10.29%
Bump
8a85f88
10 days ago
by UnknownPlatypus
© 2026 CodSpeed Technology
Home Terms Privacy Docs