Avatar for the biomejs user
biomejs
biome
BlogDocsChangelog

refactor(formatter): introduce the SourcePosition element and remove source position from Text and LocatedTokenText variant

#8012
Comparing
dbezrukov/format-element-source
(
20b5f5e
) with
main
(
0c03ee3
)
CodSpeed Performance Gauge
-7%
Regression
9
Untouched
201
Ignored
7
Skipped
39

Benchmarks

256 total
js_formatter[pixi.min_8151088792683739606.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-8%
467.7 ms*506.5 ms
js_formatter[d3.min_16009850199655599998.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-8%
429 ms*464.4 ms
js_formatter[compiler_3469143416596620219.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-8%
528.2 ms*571.4 ms
css_formatter[semantic_4685287698740288120.css]
crates/biome_css_formatter/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-8%
394.1 ms*426.1 ms
js_formatter[typescript_5583633924076080079.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-7%
3.4 s*3.7 s
json_formatter[big5-added_15586211152145260264.json]
crates/biome_json_formatter/benches/json_formatter.rs::json_formatter::bench_formatter
CodSpeed Performance Gauge
-7%
1.4 ms*1.5 ms
js_formatter[checker_6456328407951392140.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-6%
905.7 ms*968.3 ms
js_formatter[ios.d_12216376241674358710.d.ts]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-6%
755.1 ms*805.9 ms
js_formatter[math_5920422916221598348.js]
crates/biome_js_formatter/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-6%
840.1 ms*894.7 ms
db_17847247775464589309.json[uncached]
crates/biome_json_parser/benches/json_parser.rs::json_parser::bench_parser::json_parser
CodSpeed Performance Gauge
+6%
14.2 ms*13.4 ms
synthetic/wide-siblings.html[uncached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+4%
1.8 ms1.7 ms
synthetic/mixed-content.html[uncached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+2%
1.2 ms1.2 ms
synthetic/comments.html[uncached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+2%
549.4 µs539.7 µs
compiler_3469143416596620219.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+2%
142.1 ms*139.6 ms
schema_17790310256719731354.graphql[cached]
crates/biome_graphql_parser/benches/graphql_parser.rs::graqhql_parser::bench_parser::graphql_parser
CodSpeed Performance Gauge
+1%
10.1 ms*9.9 ms
three.min_17199329737537001178.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
135.2 ms*133.5 ms
math_5920422916221598348.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
193.6 ms*191.2 ms
parser_13571644119461115204.ts[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
6 ms*5.9 ms
vue.global.prod_4065256639735990520.js[cached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
41.9 ms*41.5 ms
synthetic/vue-directives.vue[cached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+1%
572.7 µs567.3 µs
pure_9395922602181450299.css[uncached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
4.3 ms*4.2 ms
real/wikipedia-Unix.html[cached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+1%
35.2 ms35 ms
synthetic/mixed-content.html[cached]
crates/biome_html_parser/benches/html_parser.rs::html_parser::bench_parser::html_parser
CodSpeed Performance Gauge
+1%
1.1 ms1.1 ms
pure_9395922602181450299.css[cached]
crates/biome_css_parser/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
3.6 ms*3.6 ms
compiler_3469143416596620219.js[uncached]
crates/biome_js_parser/benches/js_parser.rs::js_parser::bench_parser::js_parser
CodSpeed Performance Gauge
+1%
159.2 ms*158.2 ms

Commits

Click on a commit to change the comparison range
Base
main
0c03ee3
-7.02%
refactor(formatter): optimize imports in macros and printer modules
4046d7c
7 months ago
by denbezrukov
-0.31%
fix(formatter): update YAML verbatim source position
bb6c5ea
4 hours ago
by denbezrukov
+0.3%
test(formatter): update markdown source map snapshots
20b5f5e
4 hours ago
by denbezrukov
© 2026 CodSpeed Technology
Home Terms Privacy Docs