Replies: 3 comments 7 replies
-
Please keep in mind that Biome uses a daemon architecture for communication with both the CLI and the VS Code extension. This does cause some overhead which is especially noticeable if you run it against a single small file. I have no illusions for Biome to be the fastest (even though it is fast), but running it against a single small file is kind of its worst-case scenario :) When you use more/larger files at least some of that overhead should be amortized. |
Beta Was this translation helpful? Give feedback.
-
I'm not really sure how the benchmark is working. I tried locally and here's the result
I don't know why |
Beta Was this translation helpful? Give feedback.
-
If I remember correctly, Deno uses dprint. Why is there a such difference between |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am creating all-in-one linter (yes, another one) and found Biome isn't fastest
JSON
linter/formatter yet.Here benchmark repo: https://github.com/dalisoft/json-lint-benchmark
Here project which does
JSON
linting/formatting very fast: https://github.com/jsona/jsonaI am migrated project into JS ecosystem by using
download binary
method, see at here if you want checkpackage-lock.json
./node_modules/@biomejs/biome/bin/biome format data/package-lock-test.json
./node_modules/biome-rs-npm/biome format data/package-lock-test.json
prettier -c data/package-lock-test.json
./node_modules/dprint/bin.js check data/package-lock-test.json
./node_modules/dprint-rs-npm/dprint check data/package-lock-test.json
deno fmt data/package-lock-test.json
jsona fmt --option trailing_newline=true --check data/package-lock-test.json
spectral lint --ignore-unknown-format data/package-lock-test.json
package.json
./node_modules/@biomejs/biome/bin/biome format data/package-template.json
./node_modules/biome-rs-npm/biome format data/package-template.json
prettier -c data/package-template.json
./node_modules/dprint/bin.js check data/package-template.json
./node_modules/dprint-rs-npm/dprint check data/package-template.json
deno fmt data/package-template.json
jsona fmt --option trailing_newline=true --check data/package-template.json
spectral lint --ignore-unknown-format data/package-template.json
Beta Was this translation helpful? Give feedback.
All reactions