Skip to content

Commit 91c25a7

Browse files
committed
add benchmark repro details
1 parent 4923414 commit 91c25a7

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/blog/2025-10-09-oxlint-js-plugins.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,27 @@ Oxlint vs ESLint linting a medium-sized TypeScript project [vuejs/core](https://
231231
| Oxlint | 582 ms |
232232
| Oxlint with custom JS plugin | 584 ms |
233233

234+
<div>
235+
<details>
236+
<summary>Details</summary>
237+
238+
- Benchmark repo: https://github.com/camc314/core/tree/c/bench-custom-plugins
239+
- Benchmarked on 2023 MacBook Pro M2 Max
240+
- Bench command:
241+
242+
```sh
243+
hyperfine \
244+
--warmup 1 \
245+
--runs 5 \
246+
'pnpm run oxlint' \
247+
'pnpm run oxlint-with-custom-plugin' \
248+
'pnpm run eslint-with-custom-plugin' \
249+
'pnpm run eslint-with-custom-plugin-parallel' -i
250+
```
251+
252+
</details>
253+
</div>
254+
234255
In this example, the cost of adding a simple JS plugin to Oxlint is less than 1%, and Oxlint is 8x faster than ESLint,
235256
even using ESLint's new multi-threaded runner.
236257

0 commit comments

Comments
 (0)