Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

fix(analyze): check if a fragment has only one child element using tokens.

#3582Merged
Comparing
satojin219:fix/no-useless-fragments-one-element
(
fcd861c
) with
main
(
10ef9d4
)
CodSpeed Performance Gauge
-7%
Untouched
90
Ignored
18

Benchmarks

108 total
parser_8282555732666328882.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
6.4 ms6.3 ms
css_formatter[bulma_15117074458139280020.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+2%
111.9 ms109.7 ms
tachyons_9066552643484828443.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
25.4 ms24.9 ms
tachyons_9066552643484828443.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
21.5 ms21.1 ms
materialize_13055388268705992476.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
37.1 ms36.5 ms
css_formatter[foundation_7285025277362245733.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+2%
75.1 ms73.9 ms
pixi.min_8151088792683739606.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
122 ms120.9 ms
foundation_7285025277362245733.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
32.6 ms32.3 ms
react-dom.production.min_7131952758041326366.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
39.2 ms38.8 ms
math_5920422916221598348.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
213.3 ms211.5 ms
js_formatter[parser_8282555732666328882.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
20.7 ms20.5 ms
js_formatter[dojo_11880045762646467684.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
28.8 ms28.6 ms
json_formatter[db_2930068967297060348.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+1%
47.6 ms47.3 ms
vue.global.prod_4065256639735990520.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
47.3 ms47 ms
pixi.min_8151088792683739606.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
132.5 ms131.8 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
143.4 ms142.7 ms
ios.d_11036528575252089605.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
262 ms261 ms
js_formatter[typescript_5583633924076080079.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
3.5 s3.5 s
foundation_7285025277362245733.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
30.3 ms30.1 ms
css_analyzer[tachyons_9066552643484828443.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
70.8 ms70.5 ms
js_formatter[jquery.min_16034160674129647344.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
119.7 ms119.3 ms
css_analyzer[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
125.1 ms124.8 ms
js_formatter[math_5920422916221598348.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
889 ms886.7 ms
css_analyzer[bulma_15117074458139280020.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
111.3 ms111 ms
css_analyzer[foundation_7285025277362245733.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
83.2 ms83 ms

Commits

Click on a commit to change the comparison range
Base
main
10ef9d4
-0.12%
test: fragment with a single child element on a new line
5e436db
2 years ago
by satojin219
-0.03%
fix: expand child kind
05d946f
2 years ago
by satojin219
-15.31%
test: update snap shot
7951a9c
2 years ago
by satojin219
+22.41%
refactor: early return
d8cea55
2 years ago
by satojin219
-13.93%
chore: updaste CHANGELOG.md
fcd861c
2 years ago
by satojin219
© 2026 CodSpeed Technology
Home Terms Privacy Docs