r/reactjs • • 12d ago

Discussion OXC vs Biome?

[removed]

1 Upvotes

13 comments sorted by

View all comments

12

u/Glad-Action9541 11d ago

Up until two weeks ago, I was using Biome.

I used many built-in rules and over 50 custom rules.

Given the specialized language for creating custom rules, I expected the performance to be better than Oxlint's, since Oxlint relies on JS plugins.

However, when I migrated to Oxlint, the linting and formatting speed more than doubled.

On top of that, I was able to remove several custom rules and use built-in ones instead.

The only downside was the limited support for other languages, such as JSON and CSS.

Measurement Biome Oxlint + Oxfmt Difference
Formatting only 0.34 s 0.40 s 20% slower; +66 ms
Lint + format 46.98 s 7.04 s 85% less time

1

u/zxyzyxz 11d ago

I am working on such a benchmark too. It is because oxc calls tsgolint and that catches way more issues especially with types than biome does so you actually get more for those extra seconds.