Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix(html-parser): allow TypeScript as const in Svelte {#each} expressions

#10489Merged
Comparing
Mokto:fix/svelte-each-as-const
(
d5f31c7
) with
main
(
0c718da
)
CodSpeed Performance Gauge
0%
Untouched
25
Skipped
231

Benchmarks

256 total
synthetic/long-attribute-values.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
+1%
1.4 ms*1.3 ms
synthetic/astro-expressions.astro[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
3.6 ms*3.6 ms
real/wikipedia-Unix.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
424.5 ms*423.2 ms
synthetic/high-depth.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
2.1 ms*2.1 ms
synthetic/comments.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
3.1 ms*3.1 ms
synthetic/svelte-expressions.svelte[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
2.2 ms*2.2 ms
synthetic/svelte-snippets.svelte[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
3.5 ms*3.5 ms
synthetic/attribute-heavy.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
3.7 ms*3.7 ms
html_analyzer[real/wikipedia-Unix.html]
crates/biome_html_analyze/benches/html_analyzer.rs::html_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
164.8 ms*164.8 ms
synthetic/vue-directives.vue[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
2.6 ms*2.6 ms
synthetic/vue-dynamic-args.vue[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
2.6 ms*2.6 ms
html_analyzer[real/wikipedia-JavaScript.html]
crates/biome_html_analyze/benches/html_analyzer.rs::html_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
187.7 ms*187.7 ms
html_analyzer[real/wikipedia-fr-Guerre_de_Canudos.html]
crates/biome_html_analyze/benches/html_analyzer.rs::html_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
448.2 ms*448.2 ms
synthetic/wide-siblings.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
8.6 ms*8.6 ms
html_formatter[index_1033418810622582172.html]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter
CodSpeed Performance Gauge
0%
482.2 µs*482.3 µs
real/wikipedia-JavaScript.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
508.2 ms*508.4 ms
synthetic/svelte-directives.svelte[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
1.8 ms*1.8 ms
real/wikipedia-fr-Guerre_de_Canudos.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
1.4 s*1.4 s
html_analyzer[index_1033418810622582172.html]
crates/biome_html_analyze/benches/html_analyzer.rs::html_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
475.8 µs*476.4 µs
synthetic/mixed-content.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
0%
7.1 ms*7.1 ms
synthetic/astro-components.astro[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
-1%
4.6 ms*4.6 ms
synthetic/svelte-control-flow.svelte[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
-1%
1.7 ms*1.7 ms
synthetic/void-elements.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
-1%
5.9 ms*5.9 ms
synthetic/vue-expressions.vue[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
-1%
2.1 ms*2.1 ms
synthetic/tables.html[format]
crates/biome_html_formatter/benches/html_formatter.rs::html_formatter::bench_formatter::html_formatter
CodSpeed Performance Gauge
-1%
10.5 ms*10.6 ms

Commits

Click on a commit to change the comparison range
Base
main
0c718da
-0.04%
fix(html-parser): handle all whitespace in peek_keyword_after_space
557b886
2 days ago
by Mokto
-33.71%
fix(html-parser): address review comments on as-const lookahead
f09fc93
1 day ago
by Mokto
+20.11%
perf(html-parser): revert peek_keyword_after_space to position-only save
d38440a
1 day ago
by Mokto
+13.58%
refactor(html-parser): add lookahead helper to HtmlLexer, use in peek_keyword_after_space
5b6ff37
1 day ago
by Mokto
+0.05%
chore: wip
907f1e4
1 day ago
by Mokto
+0.03%
[autofix.ci] apply automated fixes
2978291
1 day ago
by autofix-ci[bot]
-30.2%
Update crates/biome_html_parser/src/syntax/svelte.rs
05aa65d
1 day ago
by Mokto
+30.08%
chore: remove stale agent worktrees, ignore .claude/worktrees/
d5f31c7
1 day ago
by Mokto
© 2026 CodSpeed Technology
Home Terms Privacy Docs