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.

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.

Time per pass (ms, lower is better)
ESLint
Biome
All 20 samples as a table
RunESLintBiome
11.443 s204.5 ms
21.458 s197.9 ms
31.414 s203.4 ms
41.468 s205.8 ms
51.423 s203.7 ms
61.467 s202.1 ms
71.423 s203.9 ms
81.405 s201.0 ms
91.439 s204.6 ms
101.444 s202.8 ms
111.452 s200.6 ms
121.409 s209.3 ms
131.442 s201.8 ms
141.424 s201.7 ms
151.420 s202.5 ms
161.442 s199.4 ms
171.448 s205.8 ms
181.455 s202.6 ms
191.421 s203.6 ms
201.429 s203.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
Raw catalog JSON
Matched rule intent

Each row is one intent both tools enforce. The implementations differ; the intent is what was held equal.

Rule pairs by intent
IntentESLintBiome
Unused variablesno-unused-varscorrectness/noUnusedVariables
Strict equalityeqeqeqsuspicious/noDoubleEquals
Debugger statementsno-debuggersuspicious/noDebugger
Prefer constprefer-conststyle/useConst
Test conditions: rig, corpus, protocol
Rig
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
Corpus
Name
ESLint 9.34.0 library source
Source
node_modules/eslint/lib/**/*.js
Files
391
Lines
99,880
Size
2.73 MB
Protocol
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.