Advertisement · 728 × 90

Posts by

Preview
GitHub - auvred/hybrid-type-aware-linting-performance: Performance evaluation of different approaches for bridging tsgo with JS Performance evaluation of different approaches for bridging tsgo with JS - auvred/hybrid-type-aware-linting-performance

have a read of github.com/auvred/hybri...

oxc parser is ~7x faster for small files, 2.5-4x faster for medium/large files

1 day ago 1 0 0 0

sorry about this one 😅 - definitely an edge case, fix will be released on monday

4 weeks ago 1 0 1 0
Preview
JS Plugins A collection of high-performance JavaScript tools written in Rust

yes! oxc.rs/docs/guide/u...

2 months ago 1 0 0 0

yep, but to use oxlint + type aware rules, you’ve already got two binaries. you can drop the third (tsgolint), by using the built in —type-check

3 months ago 1 0 1 0
Preview
Type-Aware Linting Linting with type information.

have you tried using oxlint —type-check ?

oxc.rs/docs/guide/u...

3 months ago 0 0 1 0

copilot seems to just be wrong here.
We shipped custom JS plugin support a few months ago. Any rules that have not been ported to rust can be used via custom plugins.
Using custom plugins should mitigate all four of the problems mentioned by copilot in the PR description.
let us know how you get on!

3 months ago 3 0 0 0

what was it? could we improve our docs?

4 months ago 1 0 1 0

let me raise it, its still pre-alpha so some options may not be implemented yet.

5 months ago 2 0 0 0

config file docs >>
github.com/oxc-project/...

5 months ago 1 0 1 0
Advertisement

On my laptop, oxlint 1.24 is 3% faster than 1.23 on the `vscode` repository, with even larger improvements for very large codebases.

That means if you haven't updated to one of the latest versions in a few weeks, your linting step could be >10% slower than it should be!

6 months ago 4 1 1 0

check out the awesome work Cam has been doing!

6 months ago 2 0 0 0

definitely! once i’ve polished it off, i will upstream

8 months ago 1 0 0 0

To add, the perf difference is when running oxlint with type aware rules against github.com/toeverything/A…

with: `oxlint --type-aware -A all -W no-floating-promises --silent ./vitest.config.ts`

These perf improvements werre possible via changes to tsgo.

8 months ago 3 0 0 0

we're making typescript-go faster for tsgolint!

optimizing the tsconfig file registry has yielded a 52x perf improvement when benchmarking against affine and we've got more on the way:

154.61s user 21.70s system 812% cpu 21.711 total
0.71s user 0.84s system 369% cpu 0.417 total

8 months ago 29 2 2 1