Repository navigation
bench: publish lint CLI comparison with Bun lint - #1316
Draft
fireairforce wants to merge 2 commits into
Draft
fireairforce wants to merge 2 commits into
fireairforce wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The existing comparison omitted utoo-lint's npm launcher and configuration loading. Add a published-CLI mode and a dated comparison of @utoo/lint 0.4.13, Bun lint canary, Oxlint 1.90.0, Biome 2.6.3, and ESLint 10.13.0, including a white-background PNG/SVG chart and unmodified raw timing records.
All tools receive the same 1,000 generated TypeScript files and the selected 12- or 49-rule profile. The runner validates isolated rules, the complete profile, clean controls, and actual input counts before timing. Explicit file lists avoid VCS-ignore differences; directory discovery is excluded equally for all tools. Five warmups precede 20 rotating, interleaved fresh-process samples.
Measured on an Apple M4 Pro, macOS arm64, Node 22.23.1. These are local desktop results for synthetic, shared non-type-aware rules; raw samples include timing ranges and host load. Bun's stable 1.4.4 binary did not expose lint, so the graph explicitly labels the pinned canary. The native-binary benchmark mode remains available.
Test Plan
8fa585dverified against both snapshots.UTOO_LINT_BIN; Node syntax checks andgit diff --checkpass.