Posts Code quality
ESLint vs Biome
Four equivalent rule classes over nearly 100,000 lines of JavaScript, measured again after the first run timed ESLint skipping every file.
Biome finished 7.1x faster.
Build a matchupThe matchup opens on the fleet run of , with ESLint 10 v10.14.0.
Products compared
Tests
Test 1 Time per pass
20 measured passes over the corpus. Box is the middle half of the runs, line is the median, whiskers reach the fastest and slowest pass, dots are every run.
All 20 samples as a table
| Run | ESLint | Biome |
|---|---|---|
| 1 | 1.443 s | 204.5 ms |
| 2 | 1.458 s | 197.9 ms |
| 3 | 1.414 s | 203.4 ms |
| 4 | 1.468 s | 205.8 ms |
| 5 | 1.423 s | 203.7 ms |
| 6 | 1.467 s | 202.1 ms |
| 7 | 1.423 s | 203.9 ms |
| 8 | 1.405 s | 201.0 ms |
| 9 | 1.439 s | 204.6 ms |
| 10 | 1.444 s | 202.8 ms |
| 11 | 1.452 s | 200.6 ms |
| 12 | 1.409 s | 209.3 ms |
| 13 | 1.442 s | 201.8 ms |
| 14 | 1.424 s | 201.7 ms |
| 15 | 1.420 s | 202.5 ms |
| 16 | 1.442 s | 199.4 ms |
| 17 | 1.448 s | 205.8 ms |
| 18 | 1.455 s | 202.6 ms |
| 19 | 1.421 s | 203.6 ms |
| 20 | 1.429 s | 203.7 ms |
Full report, as hyperfine prints it
Benchmark 1: ESLint 9.34.0
- Time (mean ± σ)
- 1.436 s ± 18.6 ms
- Range (min … max)
- 1.405 s … 1.468 s
- Median
- 1.440 s 20 runs
Benchmark 2: Biome 2.2.2fastest
- Time (mean ± σ)
- 203.0 ms ± 2.5 ms
- Range (min … max)
- 197.9 ms … 209.3 ms
- Median
- 203.1 ms 20 runs
Matched rule intent
Each row is one intent both tools enforce. The implementations differ; the intent is what was held equal.
| Intent | ESLint | Biome |
|---|---|---|
| Unused variables | no-unused-vars | correctness/noUnusedVariables |
| Strict equality | eqeqeq | suspicious/noDoubleEquals |
| Debugger statements | no-debugger | suspicious/noDebugger |
| Prefer const | prefer-const | style/useConst |
Test conditions: rig, corpus, protocol
- Machine
- BOSGAME EffiZen ARB19B mini PC
- Chip
- AMD Ryzen 7 6800H with Radeon Graphics
- Cores
- 8 cores / 16 threads
- Memory
- 24 GB at 4800 MT/s
- OS
- Microsoft Windows 11 Pro 26H2 (build 26300) (x64)
- Runtime
- Node 24.22.2 (ESLint, and Biome's launcher); Biome native binary; Bun 1.4.4 harness
- Name
- ESLint 9.34.0 library source
- Source
node_modules/eslint/lib/**/*.js- Files
- 391
- Lines
- 99,880
- Size
- 2.73 MB
- Warmups
- 3 unmeasured passes
- Measured
- 20 passes per tool
- Process
- A new CLI process for every measured pass, started in the corpus folder; candidates interleaved and rotated each pass
- Cache
- Warm filesystem cache after 3 unmeasured passes
- Output
- Diagnostics produced and redirected away from the terminal
What did we learn?
Biome finished 7.1x faster. Biome took 203 ms on average to lint ESLint 9.34.0's own lib/, 391 files. ESLint took 1,436 ms on the same files and found 23 problems. Each linter started fresh every pass on a Ryzen 7 6800H under Windows 11 and Node 24.22.2, and they took turns going first. The first post's ESLint time was 105.6 ms because ESLint never linted a file, so this run checks that both linters cover all 391 before it times anything.
What this does not prove
- This isolates lint throughput. It does not score rule coverage, editor integrations, migration cost, or ecosystem compatibility.
- The paired rules express the same intent, but their implementations and exact diagnostics are not identical.
- The corpus is ESLint's own JavaScript source and may not represent a typical application repository.
- Biome's time includes the Node launcher npm installs in front of its native binary.
- One machine, a Ryzen 7 6800H mini PC on Windows 11. The first post ran on an M2 Max, so the two posts' times don't compare.
Rerun it yourself: the runner and this corpus definition are in the repository, and the methodology page covers what every run holds constant. Think a result is wrong? Open an issue with your rig and your samples.