biomejs
biome
BlogDocsChangelog

refactor: avoid unnecessary document retrieval

#6155Merged
Comparing
arendjr:avoid-unnecessary-document-retrieval
(
ba467ed
) with
main
(
9d37b53
)
CodSpeed Performance Gauge
0%
Untouched
95
Ignored
20

Benchmarks

Passed

full_5814491140539129161.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
448.3 ms442.3 ms
schema_5810376208714739011.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
+1%
621 µs613 µs
schema_17790310256719731354.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
+1%
11.6 ms11.5 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
133.6 ms132.2 ms
pixi.min_8151088792683739606.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
131.1 ms130.1 ms
full_5814491140539129161.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
424.7 ms421.9 ms
json_formatter[package-lock_11240515041603712709.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
17.8 ms17.7 ms
js_formatter[checker_6456328407951392140.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
881.1 ms876.9 ms
js_formatter[three.min_17199329737537001178.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
560.4 ms557.8 ms
css_formatter[bulma_5641719244145477318.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
372 ms370.4 ms
canada_639262044961882324.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
165.5 ms164.9 ms
bulma_5641719244145477318.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
124.1 ms123.7 ms
json_formatter[big5-added_15586211152145260264.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
js_analyzer[parser_13571644119461115204.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
71.4 ms71.3 ms
canada_639262044961882324.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
214.6 ms214.1 ms
checker_6456328407951392140.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
242.1 ms241.6 ms
typescript_5583633924076080079.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
927.9 ms926.1 ms
css_formatter[semantic_4685287698740288120.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
375.5 ms374.7 ms
three.min_17199329737537001178.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
144.1 ms143.8 ms
bootstrap_18416142857265205439.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
40.7 ms40.6 ms
js_formatter[pixi.min_8151088792683739606.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
458.1 ms457.3 ms
js_analyzer[statement_263793315104667298.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
67.8 ms67.7 ms
compiler_3469143416596620219.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
159.6 ms159.4 ms
js_formatter[compiler_3469143416596620219.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
514.7 ms514 ms
js_formatter[d3.min_16009850199655599998.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
420.7 ms420.1 ms
foundation_11602414662825430680.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
25.9 ms25.9 ms
js_formatter[vue.global.prod_4065256639735990520.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
170.9 ms170.7 ms
js_formatter[math_5920422916221598348.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
823 ms822.2 ms
three.min_17199329737537001178.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
136.7 ms136.6 ms
tex-chtml-full_561698452596513081.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
264.1 ms263.9 ms
vue.global.prod_4065256639735990520.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
45.3 ms45.3 ms
css_formatter[materialize_5526761731747548557.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
85.2 ms85.2 ms
tex-chtml-full_561698452596513081.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
278.2 ms278.1 ms
pixi.min_8151088792683739606.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
121.9 ms121.8 ms
css_analyzer[tachyons_11778168428173736564.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
132.1 ms132.1 ms
index_1033418810622582172.html[uncached]
xtask/bench/benches/html_parser.rs::html_parser::bench_html_parser::html_parser
CodSpeed Performance Gauge
0%
112.9 µs112.9 µs
parser_13571644119461115204.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
83.1 ms83.1 ms
package-lock_11240515041603712709.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
5.6 ms5.6 ms
router_17129688031671448157.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
25.8 ms25.8 ms
checker_6456328407951392140.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
3.6 s3.6 s
index_1033418810622582172.html[cached]
xtask/bench/benches/html_parser.rs::html_parser::bench_html_parser::html_parser
CodSpeed Performance Gauge
0%
96 µs96 µs
graphql_formatter[schema_8546403410957788002.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
graphql_formatter[schema_17790310256719731354.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
25.4 ms25.4 ms
graphql_formatter[schema_5810376208714739011.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
ios.d_12216376241674358710.d.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
3.5 s3.5 s
js_analyzer[css_16118272471217147034.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
19.7 ms19.7 ms
css_analyzer[bulma_5641719244145477318.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
1.1 s1.1 s
js_analyzer[index_3894593175024091846.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
46 ms46 ms
css_analyzer[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
483.7 ms483.7 ms
js_formatter[jquery.min_16034160674129647344.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
109.4 ms109.4 ms
html_formatter[index_1033418810622582172.html]
xtask/bench/benches/html_formatter.rs::html_formatter::bench_html_formatter
CodSpeed Performance Gauge
0%
462 µs462.1 µs
package-lock_11240515041603712709.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
5.2 ms5.2 ms
semantic_4685287698740288120.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
124.3 ms124.3 ms
compiler_3469143416596620219.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
141.2 ms141.2 ms
css_analyzer[foundation_11602414662825430680.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
175.8 ms175.8 ms
css_formatter[tachyons_11778168428173736564.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
37.3 ms37.3 ms
schema_8546403410957788002.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
bootstrap_18416142857265205439.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
37.2 ms37.2 ms
js_analyzer[router_17129688031671448157.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
20.8 ms20.8 ms
schema_5810376208714739011.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
579.4 µs579.6 µs
schema_17790310256719731354.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
10.3 ms10.3 ms
json_formatter[eucjp_1600564308684076393.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
parser_13571644119461115204.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
6.7 ms6.7 ms
semantic_4685287698740288120.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
117.1 ms117.2 ms
js_formatter[typescript_5583633924076080079.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
3.4 s3.4 s
js_formatter[tex-chtml-full_561698452596513081.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
1.1 s1.1 s
d3.min_16009850199655599998.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
105.5 ms105.6 ms
js_formatter[parser_13571644119461115204.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
18.9 ms18.9 ms
materialize_5526761731747548557.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
27.1 ms27.1 ms
js_formatter[dojo_11880045762646467684.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
26.4 ms26.4 ms
css_formatter[foundation_11602414662825430680.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
78.5 ms78.7 ms
css_formatter[full_5814491140539129161.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
1.3 s1.3 s
bulma_5641719244145477318.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
115.7 ms116 ms
d3.min_16009850199655599998.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
113.7 ms113.9 ms
css_formatter[pure_9395922602181450299.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
9.7 ms9.7 ms
typescript_5583633924076080079.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
1 s1 s
math_5920422916221598348.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
195.9 ms196.3 ms
react-dom.production.min_7131952758041326366.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
34.6 ms34.7 ms
json_formatter[canada_639262044961882324.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
702 ms704.3 ms
js_analyzer[lint_13640784270757307929.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
46.8 ms47 ms
js_analyzer[typescript_3735799142832611563.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
108.4 ms108.8 ms
css_formatter[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
117.7 ms118.2 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%
37.7 ms37.9 ms
math_5920422916221598348.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
208.8 ms210.5 ms
json_formatter[db_17847247775464589309.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
-1%
42.4 ms42.8 ms
foundation_11602414662825430680.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
24 ms24.3 ms
js_formatter[router_17129688031671448157.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
6.3 ms6.4 ms
materialize_5526761731747548557.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
29.6 ms29.9 ms
js_formatter[ios.d_12216376241674358710.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
725.2 ms734.2 ms
parser_13571644119461115204.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
5.9 ms6 ms
checker_6456328407951392140.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
266.4 ms270 ms
vue.global.prod_4065256639735990520.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
42.1 ms42.7 ms
schema_8546403410957788002.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
-2%
937.6 µs952.8 µs
tachyons_11778168428173736564.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-2%
20.7 ms21 ms
tachyons_11778168428173736564.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-2%
17.5 ms17.8 ms

Ignored

js_formatter[react.production.min_3378072959512366797.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
Ignored
CodSpeed Performance Gauge
0%
6.7 ms6.7 ms
big5-added_15586211152145260264.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
425.7 µs427.4 µs
big5-added_15586211152145260264.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+1%
533.5 µs529.5 µs
pure_9395922602181450299.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
pure_9395922602181450299.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
eucjp_1600564308684076393.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
778.8 µs778.8 µs
jquery.min_16034160674129647344.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
27.9 ms27.9 ms
db_17847247775464589309.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+2%
12.6 ms12.4 ms
eucjp_1600564308684076393.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
922.2 µs919.8 µs
jquery.min_16034160674129647344.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
26.2 ms26.2 ms
react.production.min_3378072959512366797.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
2 ms2.1 ms
dojo_11880045762646467684.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+1%
8.8 ms8.7 ms
db_17847247775464589309.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
14.3 ms14.3 ms
css_analyzer[pure_9395922602181450299.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
Ignored
CodSpeed Performance Gauge
0%
18.8 ms18.8 ms
react.production.min_3378072959512366797.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
ios.d_12216376241674358710.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
275.7 ms276.2 ms
dojo_11880045762646467684.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+1%
7.8 ms7.7 ms
router_17129688031671448157.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
2.3 ms2.3 ms
ios.d_12216376241674358710.d.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
248 ms248 ms
router_17129688031671448157.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
2 ms2 ms

Commits

Click on a commit to change the comparison range
Base
main
9d37b53
-0.08%
refactor: avoid unnecessary document retrieval
ba467ed
4 months ago
by arendjr
© 2025 CodSpeed Technology
Home Terms Privacy Docs