biomejs
biome
BlogDocsChangelog

test: use `insta` for JS parser

#4386Merged
Comparing
tests/js-parser-snapshots
(
113d93b
) with
main
(
28a2a6c
)
CodSpeed Performance Gauge
0%
Untouched
92
Ignored
20

Benchmarks

Passed

pixi.min_8151088792683739606.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+4%
135.8 ms130.1 ms
materialize_5526761731747548557.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
32.4 ms31.6 ms
foundation_11602414662825430680.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+2%
28.9 ms28.3 ms
json_formatter[big5-added_15586211152145260264.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+2%
1.7 ms1.6 ms
css_formatter[pure_9395922602181450299.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
+1%
9.9 ms9.8 ms
js_formatter[parser_13571644119461115204.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
+1%
19.9 ms19.6 ms
json_formatter[eucjp_1600564308684076393.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
+1%
3.1 ms3 ms
vue.global.prod_4065256639735990520.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
+1%
43.8 ms43.4 ms
bulma_5641719244145477318.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
122.5 ms121.8 ms
tachyons_11778168428173736564.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
23 ms22.9 ms
full_5814491140539129161.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
+1%
446.6 ms444.3 ms
js_formatter[jquery.min_16034160674129647344.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
115.1 ms114.6 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%
35.7 ms35.6 ms
json_formatter[db_17847247775464589309.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
47 ms46.8 ms
js_formatter[pixi.min_8151088792683739606.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
473.3 ms471.9 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
three.min_17199329737537001178.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
145.9 ms145.5 ms
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
js_formatter[d3.min_16009850199655599998.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
429.1 ms428.3 ms
checker_6456328407951392140.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
253.9 ms253.5 ms
css_formatter[tachyons_11778168428173736564.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
39.5 ms39.4 ms
typescript_5583633924076080079.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
957.7 ms956.9 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
js_analyzer[index_3894593175024091846.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
42.6 ms42.6 ms
schema_17790310256719731354.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
11 ms11 ms
schema_5810376208714739011.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
633 µs632.9 µs
bootstrap_18416142857265205439.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
43.8 ms43.7 ms
full_5814491140539129161.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
470.4 ms470.3 ms
js_formatter[three.min_17199329737537001178.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
571.9 ms571.8 ms
tachyons_11778168428173736564.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
19.2 ms19.2 ms
package-lock_11240515041603712709.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
5.5 ms5.5 ms
json_formatter[canada_639262044961882324.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
725.4 ms725.4 ms
package-lock_11240515041603712709.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
6.1 ms6.1 ms
js_analyzer[lint_13640784270757307929.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
32.5 ms32.5 ms
css_analyzer[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
219.1 ms219.1 ms
checker_6456328407951392140.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
3.9 s3.9 s
graphql_formatter[schema_17790310256719731354.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
27.9 ms27.9 ms
parser_13571644119461115204.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
88.4 ms88.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.8 s3.8 s
router_17129688031671448157.ts[execute]
xtask/bench/benches/gritql_search.rs::gritql_search::bench_gritql_search::gritql_search
CodSpeed Performance Gauge
0%
27.4 ms27.4 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
css_formatter[bootstrap_18416142857265205439.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
122 ms122 ms
graphql_formatter[schema_8546403410957788002.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
js_analyzer[statement_263793315104667298.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
56.6 ms56.6 ms
graphql_formatter[schema_5810376208714739011.graphql]
xtask/bench/benches/graphql_formatter.rs::graphql_formatter::bench_graphql_formatter
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
js_analyzer[parser_13571644119461115204.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
60.6 ms60.6 ms
js_analyzer[router_17129688031671448157.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms
js_analyzer[css_16118272471217147034.js]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
17.5 ms17.5 ms
json_formatter[package-lock_11240515041603712709.json]
xtask/bench/benches/json_formatter.rs::json_formatter::bench_json_formatter
CodSpeed Performance Gauge
0%
20 ms20 ms
js_formatter[compiler_3469143416596620219.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
528.2 ms528.2 ms
css_analyzer[bulma_5641719244145477318.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
621.6 ms621.6 ms
css_analyzer[tachyons_11778168428173736564.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
121.9 ms121.9 ms
js_analyzer[typescript_3735799142832611563.ts]
xtask/bench/benches/js_analyzer.rs::js_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
92.1 ms92.1 ms
bootstrap_18416142857265205439.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
39.9 ms39.9 ms
css_formatter[foundation_11602414662825430680.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
80.6 ms80.6 ms
semantic_4685287698740288120.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
123.3 ms123.4 ms
css_analyzer[foundation_11602414662825430680.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
CodSpeed Performance Gauge
0%
149.4 ms149.6 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
react-dom.production.min_7131952758041326366.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
39 ms39 ms
canada_639262044961882324.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
221 ms221.4 ms
css_formatter[materialize_5526761731747548557.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
0%
87.9 ms88.1 ms
tex-chtml-full_561698452596513081.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
267.8 ms268.4 ms
schema_5810376208714739011.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
0%
607.8 µs609.4 µs
js_formatter[math_5920422916221598348.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
852.1 ms854.6 ms
semantic_4685287698740288120.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
131.8 ms132.3 ms
js_formatter[checker_6456328407951392140.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
0%
891 ms894.1 ms
parser_13571644119461115204.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
7 ms7 ms
pixi.min_8151088792683739606.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
0%
122 ms122.5 ms
canada_639262044961882324.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
CodSpeed Performance Gauge
0%
167 ms167.7 ms
bulma_5641719244145477318.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
0%
130.2 ms130.8 ms
vue.global.prod_4065256639735990520.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
46.7 ms47 ms
js_formatter[ios.d_12216376241674358710.d.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
746.7 ms751.6 ms
d3.min_16009850199655599998.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
113.2 ms113.9 ms
css_formatter[bulma_5641719244145477318.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-1%
386.8 ms389.4 ms
tex-chtml-full_561698452596513081.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
284.1 ms286.1 ms
js_formatter[vue.global.prod_4065256639735990520.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
173.1 ms174.5 ms
compiler_3469143416596620219.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
144.2 ms145.3 ms
compiler_3469143416596620219.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
161.1 ms162.4 ms
css_formatter[semantic_4685287698740288120.css]
xtask/bench/benches/css_formatter.rs::css_formatter::bench_css_formatter
CodSpeed Performance Gauge
-1%
382.5 ms385.6 ms
foundation_11602414662825430680.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-1%
26.7 ms27 ms
js_formatter[router_17129688031671448157.ts]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
6.6 ms6.6 ms
js_formatter[dojo_11880045762646467684.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-1%
27.3 ms27.6 ms
d3.min_16009850199655599998.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
105.4 ms106.6 ms
math_5920422916221598348.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
198.9 ms201.5 ms
checker_6456328407951392140.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
279.2 ms283 ms
math_5920422916221598348.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-1%
210.7 ms213.8 ms
schema_8546403410957788002.graphql[cached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
-1%
990.5 µs1,005.4 µs
three.min_17199329737537001178.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-2%
135.3 ms137.5 ms
parser_13571644119461115204.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
CodSpeed Performance Gauge
-2%
6.3 ms6.4 ms
js_formatter[react-dom.production.min_7131952758041326366.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
CodSpeed Performance Gauge
-2%
134.1 ms136.8 ms
materialize_5526761731747548557.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
CodSpeed Performance Gauge
-2%
28.5 ms29.2 ms
schema_17790310256719731354.graphql[uncached]
xtask/bench/benches/graphql_parser.rs::graphql_parser::bench_graphql_parser::graphql_parser
CodSpeed Performance Gauge
-3%
12.2 ms12.6 ms

Ignored

css_analyzer[pure_9395922602181450299.css]
xtask/bench/benches/css_analyzer.rs::css_analyzer::bench_analyzer
Ignored
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms
pure_9395922602181450299.css[cached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
-2%
3.3 ms3.4 ms
pure_9395922602181450299.css[uncached]
xtask/bench/benches/css_parser.rs::css_parser::bench_css_parser::css_parser
Ignored
CodSpeed Performance Gauge
-5%
4 ms4.2 ms
jquery.min_16034160674129647344.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
27 ms27 ms
jquery.min_16034160674129647344.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
28.8 ms28.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.9 ms1.9 ms
dojo_11880045762646467684.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
+2%
9.4 ms9.3 ms
router_17129688031671448157.ts[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-3%
2.1 ms2.1 ms
react.production.min_3378072959512366797.js[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
2.2 ms2.2 ms
router_17129688031671448157.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
0%
2.4 ms2.4 ms
ios.d_12216376241674358710.d.ts[uncached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-1%
283.9 ms288 ms
dojo_11880045762646467684.js[cached]
xtask/bench/benches/js_parser.rs::js_parser::bench_js_parser::js_parser
Ignored
CodSpeed Performance Gauge
-2%
8.2 ms8.3 ms
js_formatter[react.production.min_3378072959512366797.js]
xtask/bench/benches/js_formatter.rs::js_formatter::bench_js_formatter
Ignored
CodSpeed Performance Gauge
+5%
7.1 ms6.8 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%
260.5 ms260.8 ms
big5-added_15586211152145260264.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
0%
435.3 µs433.3 µs
eucjp_1600564308684076393.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+2%
821.2 µs808.4 µs
db_17847247775464589309.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+4%
15.9 ms15.3 ms
db_17847247775464589309.json[cached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-4%
13.1 ms13.6 ms
big5-added_15586211152145260264.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
-27%
564.5 µs773.1 µs
eucjp_1600564308684076393.json[uncached]
xtask/bench/benches/json_parser.rs::json_parser::bench_json_parser::json_parser
Ignored
CodSpeed Performance Gauge
+4%
1,006.8 µs968.4 µs

Commits

Click on a commit to change the comparison range
Base
main
28a2a6c
-0.18%
tests: use `insta` for JS parser
113d93b
1 year ago
by ematipico
© 2025 CodSpeed Technology
Home Terms Privacy Docs