biomejs
biome
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
refactor: add variables to format strings directly
#3299
Merged
Comparing
hamirmahal:style/simplify-string-formatting
(
add4ec9
) with
main
(
3f311fe
)
CodSpeed Performance Gauge
0%
Untouched
90
Ignored
11
Benchmarks
Passed
pure.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
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
CodSpeed Performance Gauge
+3%
21.8 ms
21.1 ms
math.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+3%
213.3 ms
207.8 ms
parser.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+2%
7 ms
6.9 ms
json_formatter[eucjp.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+2%
3 ms
3 ms
css_formatter[bulma.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+2%
109.2 ms
106.9 ms
tachyons.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
25.4 ms
25 ms
bulma.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
45.1 ms
44.4 ms
three.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
136.9 ms
135.1 ms
semantic.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
152.4 ms
150.5 ms
css_formatter[pure.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+1%
9.2 ms
9.1 ms
bootstrap.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
46.8 ms
46.3 ms
js_formatter[react-dom.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
142.7 ms
141.2 ms
d3.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
105.1 ms
104 ms
js_formatter[dojo.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
28.6 ms
28.3 ms
parser.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
6.4 ms
6.4 ms
materialize.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
33.2 ms
32.9 ms
typescript.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
955.9 ms
948.5 ms
foundation.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
32.1 ms
31.9 ms
d3.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
112.4 ms
111.6 ms
js_formatter[parser.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
20.7 ms
20.6 ms
tex-chtml-full.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
285.1 ms
283.5 ms
json_formatter[db.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
45.6 ms
45.4 ms
js_formatter[jquery.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
120 ms
119.5 ms
canada.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
221.8 ms
221 ms
css_formatter[tachyons.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
37.6 ms
37.5 ms
compiler.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
162.5 ms
162.1 ms
full.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
522.4 ms
521.3 ms
bootstrap.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
50.7 ms
50.6 ms
typescript.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
1 s
1 s
js_formatter[math.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
887.8 ms
886.7 ms
canada.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
169.9 ms
169.7 ms
vue.global.prod.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
46.9 ms
46.9 ms
full.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
495.8 ms
495.5 ms
js_formatter[typescript.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
3.5 s
3.5 s
bulma.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
48.3 ms
48.3 ms
js_formatter[router.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
6.9 ms
6.9 ms
pixi.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
120.6 ms
120.5 ms
js_formatter[react.production.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
7.4 ms
7.4 ms
js_analyzer[index.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
32.8 ms
32.8 ms
ios.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
260.6 ms
260.5 ms
json_formatter[package-lock.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
19.8 ms
19.8 ms
json_formatter[canada.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
737.7 ms
737.7 ms
css_formatter[full.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
1.2 s
1.2 s
package-lock.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
6 ms
6 ms
css_formatter[bootstrap.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
109.5 ms
109.5 ms
package-lock.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
5.7 ms
5.7 ms
schema.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser
CodSpeed Performance Gauge
0%
697 µs
697.1 µs
js_analyzer[css.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
15.4 ms
15.4 ms
js_analyzer[parser.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
53 ms
53 ms
jquery.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
26.9 ms
26.9 ms
math.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
200.5 ms
200.6 ms
js_formatter[d3.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
446.3 ms
446.7 ms
css_analyzer[bulma.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
79.1 ms
79.2 ms
css_analyzer[foundation.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
60.8 ms
60.9 ms
three.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
146.3 ms
146.4 ms
jquery.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
28.7 ms
28.8 ms
js_analyzer[router.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
15.2 ms
15.2 ms
js_analyzer[typescript.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
76.3 ms
76.4 ms
css_analyzer[bootstrap.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
92.5 ms
92.7 ms
css_analyzer[pure.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
6.5 ms
6.5 ms
css_analyzer[tachyons.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
43.2 ms
43.3 ms
vue.global.prod.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
43.3 ms
43.3 ms
js_analyzer[statement.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
47.6 ms
47.7 ms
tex-chtml-full.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
267 ms
267.5 ms
react-dom.production.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
35.5 ms
35.6 ms
js_analyzer[lint.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
25.9 ms
26 ms
js_formatter[ios.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
787.8 ms
789.7 ms
checker.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
278.8 ms
279.4 ms
foundation.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
30 ms
30.1 ms
js_formatter[vue.global.prod.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
181 ms
181.6 ms
pure.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
4.6 ms
4.6 ms
js_formatter[checker.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
924.9 ms
928.8 ms
json_formatter[big5-added.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
schema.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_css_parser::graphql_parser
CodSpeed Performance Gauge
0%
642.8 µs
645.8 µs
js_formatter[compiler.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
547.9 ms
550.4 ms
css_formatter[foundation.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
73.2 ms
73.6 ms
js_formatter[pixi.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
488.9 ms
491.3 ms
js_formatter[three.min.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
594.3 ms
597.2 ms
ios.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
285.2 ms
286.6 ms
js_formatter[tex-chtml-full.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
1.1 s
1.1 s
css_formatter[materialize.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-1%
80 ms
80.5 ms
css_formatter[semantic.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-1%
290.8 ms
293.1 ms
semantic.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
141 ms
142.3 ms
checker.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
251.2 ms
253.9 ms
react-dom.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-2%
38.4 ms
39.1 ms
materialize.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-2%
35.8 ms
36.5 ms
compiler.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-2%
144.6 ms
147.5 ms
react.production.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-3%
2.1 ms
2.2 ms
pixi.min.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-4%
130.5 ms
135.5 ms
Ignored
db.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-3%
15.6 ms
16.1 ms
big5-added.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
544.2 µs
544.1 µs
react.production.min.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
big5-added.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+2%
450.2 µs
442.2 µs
eucjp.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-2%
814.5 µs
835 µs
eucjp.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-3%
966.8 µs
997.6 µs
dojo.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
9.1 ms
9.3 ms
router.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
2.1 ms
2.1 ms
dojo.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+2%
8.3 ms
8.1 ms
db.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-2%
13.3 ms
13.5 ms
router.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+2%
2.4 ms
2.4 ms
Commits
Click on a commit to change the comparison range
Base
main
3f311fe
+0.14%
fix: formatting in `crates/` and `xtask/`
add4ec9
1 year ago
by hamirmahal
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs