feat(napi/oxlint): run JS plugins on multiple threads#13244
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
626219f to
bea9ec9
Compare
CodSpeed Instrumentation Performance ReportMerging #13244 will not alter performanceComparing Summary
|
bea9ec9 to
3ac3b7a
Compare
|
Close as stale. |

Run JS linter plugins on multiple threads.
WIP. Seems to work - rules are run on JS worker threads in parallel - but effect on performance is not good. In best cases, improvement in perf is not large, and in some cases it's slower than running all JS rules on main thread.
This contrasts steeply against previous multi-threading prototype, where performance scaled well with number of cores. I need to investigate where the bottleneck is.