3 ms·
Are there benchmarks for Biome anywhere? How much better does it perform than prettier exactly?
by nulld3v 3y ago
Are there benchmarks for Biome anywhere? How much better does it perform than prettier exactly?
- nulld3v 3y agoFound some here: https://github.com/biomejs/biome/blob/main/benchmark/README.md https://github.com/biomejs/biome/blob/main/benchmark/README.... They claim 25x but the numbers are old so I'm not sure if I believe them now that a bunch of new functionality has been added. Either way, if it's anywhere within that ballpark it's still a huge achievement.
- conaclos 3y agoThis heavily depends on your workstation. Biome scales very well. With 16 threads on a i7-120P, I got the following figures: Webpack repository: Biome ran 2.19 ± 0.11 times faster than dprint 4.18 ± 0.14 times faster than Biome (1 thread) 32.12 ± 1.18 times faster than Prettier 32.45 ± 2.56 times faster than Parallel-Prettier I am not sure why Parallel-Prettier is slower than Prettier for the webpack repository. Prettier repository: Biome ran 1.89 ± 0.21 times faster than dprint 3.47 ± 0.34 times faster than Biome (1 thread) 36.70 ± 3.41 times faster than Parallel-Prettier 46.66 ± 4.32 times faster than Prettier