Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

feat(js_formatter): explore embedded language formatting

#3228Closed
Comparing
ah-yu:embed_fmt
(
b10c615
) with
main
(
519e316
)
CodSpeed Performance Gauge
0%
Improvements
0
Regressions
0
Untouched
90
New
0
Dropped
0
Ignored
11

Benchmarks

Passed

pure.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[cached]
CodSpeed Performance Gauge
+4%
4 ms
3.9 ms
tachyons.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[cached]
CodSpeed Performance Gauge
+3%
21.5 ms
20.8 ms
package-lock.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::package-lock.json[cached]
CodSpeed Performance Gauge
+3%
5.7 ms
5.5 ms
css_formatter[pure.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[pure.css]
CodSpeed Performance Gauge
+3%
9.4 ms
9.1 ms
react.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react.production.min.js[uncached]
CodSpeed Performance Gauge
+3%
2.2 ms
2.2 ms
materialize.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[cached]
CodSpeed Performance Gauge
+3%
33.9 ms
33 ms
js_formatter[router.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[router.ts]
CodSpeed Performance Gauge
+2%
7 ms
6.9 ms
json_formatter[big5-added.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[big5-added.json]
CodSpeed Performance Gauge
+2%
1.6 ms
1.6 ms
pure.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::pure.css[uncached]
CodSpeed Performance Gauge
+1%
4.6 ms
4.6 ms
js_formatter[react.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[react.production.min.js]
CodSpeed Performance Gauge
+1%
7.4 ms
7.3 ms
ios.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::ios.d.ts[cached]
CodSpeed Performance Gauge
+1%
262.3 ms
258.8 ms
foundation.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[uncached]
CodSpeed Performance Gauge
+1%
32.4 ms
32 ms
jquery.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::jquery.min.js[uncached]
CodSpeed Performance Gauge
+1%
29.7 ms
29.3 ms
three.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::three.min.js[cached]
CodSpeed Performance Gauge
+1%
136.2 ms
134.7 ms
js_formatter[react-dom.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[react-dom.production.min.js]
CodSpeed Performance Gauge
+1%
141.7 ms
140.2 ms
tex-chtml-full.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::tex-chtml-full.js[cached]
CodSpeed Performance Gauge
+1%
268 ms
265.4 ms
materialize.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::materialize.css[uncached]
CodSpeed Performance Gauge
+1%
36.2 ms
36 ms
js_analyzer[css.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[css.js]
CodSpeed Performance Gauge
+1%
15.4 ms
15.3 ms
css_analyzer[pure.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[pure.css]
CodSpeed Performance Gauge
+1%
6.5 ms
6.5 ms
pixi.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::pixi.min.js[cached]
CodSpeed Performance Gauge
+1%
119.4 ms
118.7 ms
css_analyzer[bulma.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[bulma.css]
CodSpeed Performance Gauge
+1%
79.4 ms
78.9 ms
css_analyzer[tachyons.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[tachyons.css]
CodSpeed Performance Gauge
+1%
43.4 ms
43.2 ms
js_analyzer[typescript.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[typescript.ts]
CodSpeed Performance Gauge
+1%
76.3 ms
75.9 ms
css_analyzer[bootstrap.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[bootstrap.css]
CodSpeed Performance Gauge
+1%
92.8 ms
92.3 ms
css_analyzer[foundation.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer::css_analyzer[foundation.css]
CodSpeed Performance Gauge
+1%
61 ms
60.7 ms
three.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::three.min.js[uncached]
CodSpeed Performance Gauge
+1%
146.4 ms
145.7 ms
js_formatter[parser.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[parser.ts]
CodSpeed Performance Gauge
0%
20.8 ms
20.7 ms
css_formatter[semantic.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[semantic.css]
CodSpeed Performance Gauge
0%
293.4 ms
292.1 ms
js_formatter[jquery.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[jquery.min.js]
CodSpeed Performance Gauge
0%
120 ms
119.5 ms
js_analyzer[statement.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[statement.ts]
CodSpeed Performance Gauge
0%
47.7 ms
47.5 ms
canada.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[cached]
CodSpeed Performance Gauge
0%
170.6 ms
169.9 ms
js_analyzer[lint.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[lint.ts]
CodSpeed Performance Gauge
0%
25.9 ms
25.8 ms
js_analyzer[parser.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[parser.ts]
CodSpeed Performance Gauge
0%
53 ms
52.9 ms
css_formatter[bulma.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[bulma.css]
CodSpeed Performance Gauge
0%
108.8 ms
108.5 ms
js_formatter[typescript.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[typescript.js]
CodSpeed Performance Gauge
0%
3.5 s
3.5 s
js_formatter[d3.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[d3.min.js]
CodSpeed Performance Gauge
0%
445.6 ms
444.5 ms
d3.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::d3.min.js[uncached]
CodSpeed Performance Gauge
0%
113.3 ms
113 ms
vue.global.prod.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::vue.global.prod.js[cached]
CodSpeed Performance Gauge
0%
43.3 ms
43.2 ms
react-dom.production.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react-dom.production.min.js[cached]
CodSpeed Performance Gauge
0%
35.6 ms
35.5 ms
json_formatter[package-lock.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[package-lock.json]
CodSpeed Performance Gauge
0%
19.8 ms
19.8 ms
css_formatter[tachyons.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[tachyons.css]
CodSpeed Performance Gauge
0%
37.8 ms
37.7 ms
checker.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[cached]
CodSpeed Performance Gauge
0%
248.7 ms
248.4 ms
js_analyzer[router.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[router.ts]
CodSpeed Performance Gauge
0%
15.2 ms
15.2 ms
js_formatter[tex-chtml-full.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[tex-chtml-full.js]
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
full.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[cached]
CodSpeed Performance Gauge
0%
497.5 ms
497.3 ms
schema.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser::schema.graphql[uncached]
CodSpeed Performance Gauge
0%
698 µs
698 µs
typescript.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::typescript.js[uncached]
CodSpeed Performance Gauge
0%
1 s
1 s
css_formatter[bootstrap.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[bootstrap.css]
CodSpeed Performance Gauge
0%
109.6 ms
109.6 ms
json_formatter[canada.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[canada.json]
CodSpeed Performance Gauge
0%
737.7 ms
738.1 ms
js_formatter[checker.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[checker.ts]
CodSpeed Performance Gauge
0%
929.1 ms
929.6 ms
css_formatter[full.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[full.css]
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
full.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::full.css[uncached]
CodSpeed Performance Gauge
0%
520.2 ms
520.6 ms
bulma.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[uncached]
CodSpeed Performance Gauge
0%
48.2 ms
48.2 ms
math.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[cached]
CodSpeed Performance Gauge
0%
198.7 ms
198.8 ms
js_analyzer[index.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer::js_analyzer[index.js]
CodSpeed Performance Gauge
0%
32.8 ms
32.9 ms
bootstrap.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[uncached]
CodSpeed Performance Gauge
0%
50.6 ms
50.7 ms
typescript.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::typescript.js[cached]
CodSpeed Performance Gauge
0%
954.6 ms
955.8 ms
bootstrap.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bootstrap.css[cached]
CodSpeed Performance Gauge
0%
46.6 ms
46.6 ms
schema.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser::schema.graphql[cached]
CodSpeed Performance Gauge
0%
642.8 µs
644.1 µs
semantic.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[cached]
CodSpeed Performance Gauge
0%
141 ms
141.3 ms
js_formatter[math.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[math.js]
CodSpeed Performance Gauge
0%
887.2 ms
889.1 ms
css_formatter[foundation.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[foundation.css]
CodSpeed Performance Gauge
0%
74 ms
74.2 ms
bulma.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::bulma.css[cached]
CodSpeed Performance Gauge
0%
44.4 ms
44.5 ms
tex-chtml-full.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::tex-chtml-full.js[uncached]
CodSpeed Performance Gauge
0%
284 ms
284.8 ms
vue.global.prod.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::vue.global.prod.js[uncached]
CodSpeed Performance Gauge
0%
47.1 ms
47.3 ms
js_formatter[three.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[three.min.js]
CodSpeed Performance Gauge
0%
594.9 ms
597.1 ms
js_formatter[vue.global.prod.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[vue.global.prod.js]
CodSpeed Performance Gauge
0%
182.8 ms
183.4 ms
ios.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::ios.d.ts[uncached]
CodSpeed Performance Gauge
0%
283.8 ms
284.8 ms
react-dom.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react-dom.production.min.js[uncached]
CodSpeed Performance Gauge
0%
38.8 ms
39 ms
js_formatter[pixi.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[pixi.min.js]
CodSpeed Performance Gauge
0%
488.6 ms
490.7 ms
compiler.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[cached]
CodSpeed Performance Gauge
0%
143.6 ms
144.3 ms
css_formatter[materialize.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter::css_formatter[materialize.css]
CodSpeed Performance Gauge
-1%
80.5 ms
80.9 ms
js_formatter[dojo.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[dojo.js]
CodSpeed Performance Gauge
-1%
28.9 ms
29 ms
d3.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::d3.min.js[cached]
CodSpeed Performance Gauge
-1%
103.8 ms
104.5 ms
json_formatter[eucjp.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[eucjp.json]
CodSpeed Performance Gauge
-1%
3 ms
3 ms
tachyons.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::tachyons.css[uncached]
CodSpeed Performance Gauge
-1%
24.9 ms
25.1 ms
parser.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[uncached]
CodSpeed Performance Gauge
-1%
7.1 ms
7.1 ms
parser.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::parser.ts[cached]
CodSpeed Performance Gauge
-1%
6.2 ms
6.3 ms
compiler.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::compiler.js[uncached]
CodSpeed Performance Gauge
-1%
161.7 ms
163.1 ms
package-lock.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::package-lock.json[uncached]
CodSpeed Performance Gauge
-1%
6 ms
6.1 ms
js_formatter[ios.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[ios.d.ts]
CodSpeed Performance Gauge
-1%
782.7 ms
789.9 ms
semantic.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::semantic.css[uncached]
CodSpeed Performance Gauge
-1%
150.5 ms
151.9 ms
js_formatter[compiler.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter::js_formatter[compiler.js]
CodSpeed Performance Gauge
-1%
547.7 ms
554 ms
canada.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::canada.json[uncached]
CodSpeed Performance Gauge
-1%
220.1 ms
222.7 ms
foundation.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser::foundation.css[cached]
CodSpeed Performance Gauge
-1%
29.8 ms
30.2 ms
pixi.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::pixi.min.js[uncached]
CodSpeed Performance Gauge
-2%
133 ms
135.2 ms
checker.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::checker.ts[uncached]
CodSpeed Performance Gauge
-2%
274.3 ms
278.9 ms
math.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::math.js[uncached]
CodSpeed Performance Gauge
-2%
208.2 ms
211.8 ms
json_formatter[db.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter::json_formatter[db.json]
CodSpeed Performance Gauge
-2%
44.6 ms
45.5 ms
jquery.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::jquery.min.js[cached]
CodSpeed Performance Gauge
-3%
27 ms
27.9 ms

Ignored

dojo.js[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::dojo.js[cached]
CodSpeed Performance Gauge
+4%
8.5 ms
8.1 ms
dojo.js[uncached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::dojo.js[uncached]
CodSpeed Performance Gauge
+2%
9.3 ms
9.2 ms
react.production.min.js[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::react.production.min.js[cached]
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
router.ts[cached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::router.ts[cached]
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
router.ts[uncached]Ignored
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser::router.ts[uncached]
CodSpeed Performance Gauge
-2%
2.4 ms
2.5 ms
big5-added.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::big5-added.json[cached]
CodSpeed Performance Gauge
0%
438.6 µs
438.8 µs
big5-added.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::big5-added.json[uncached]
CodSpeed Performance Gauge
-43%
544.1 µs
946.7 µs
db.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[cached]
CodSpeed Performance Gauge
-1%
13.2 ms
13.3 ms
db.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::db.json[uncached]
CodSpeed Performance Gauge
0%
16 ms
16 ms
eucjp.json[cached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::eucjp.json[cached]
CodSpeed Performance Gauge
0%
812.9 µs
814 µs
eucjp.json[uncached]Ignored
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser::eucjp.json[uncached]
CodSpeed Performance Gauge
+2%
965.9 µs
945.2 µs

Commits

Click on a commit to change the comparison range
Base
main
519e316
-6%
support more css-in-js conventions
a354740
1 year ago
by ah-yu
+6%
x
b10c615
1 year ago
by ah-yu
© 2025 CodSpeed Technology
Home Terms Privacy Docs