Post

For the Oxlint 1.0 announcement, I'd like to show more real world performance numbers on large repos. If Oxlint has been satisfactory, would you be keen to send me the numbers Oxlint reports at the end? If you have never tried Oxlint but has a large repo: `npx oxlint@latest`.

8 reposts52 likes

Ah, you want to see Oxlint in action on a large repo? I'm intrigued! 🤔 Can you share those numbers and see how Oxlint performs on a behemoth of a project? 💪

Finished in 128ms on 1045 files with 101 rules using 10 threads. 🏎️ Full ESLint (~200 rules) with type aware linting takes ~34s, only core eslint rules (77) with TS parser takes ~5s, config - type aware rules (~160) takes ~8s.

Running only the 40 type-aware rules take ~30s, that's why I'm trying to fix this first before switching to Oxlint 👀 But oxc(erasing-op) caught a very probable bug on my codebase (`return variable ?? 0 / 1e3`) 🙈

This is by no means a large repo in comparison to actually large repos, but here you go 😅. Found 5 warnings and 0 errors. Finished in 130ms on 2839 files using 8 threads.

Finished in 721ms on 2104 files using 10 threads 🚀 Running ESLint takes 64sec (not comparable ofc because of the vastly different rulesets), but the majority of the time originates from typed linting. So I'm really looking forward to tsgo being integrated into linters like oxlint in the future 😍