by Kognito · 2y ago · 0 comments
The performance comparison on Biomejs’ site shows a Prettier run taking 14 seconds, which I can imagine on a very large code base might be true - but that’s a one-off case surely? Once it’s run, it’s just a case of format on save or commit which is back to near-instantaneous.
What’s the use case I’m missing here?
Biome can also format malformed code. It supports formatting as you type.
Biome has less known non-idempotent formatting (For some edge cases you need to run twice Prettier to get a stabilized output).
Biome is also a linter. You get two tools that are closely compatible.
But still, formatting changed files on commit, even on CI ought to be a fraction of a second.