mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Partially address #1879 See there for more info. but tldr: Printing a lot of diagnostics takes a lot of time - a lot longer than it takes to create them we speed up printing by producing less diagnostics. we do this by making `no-sparse-arrays` report 1x per array instead of 1x per violation. This does have the overhead of now every ArrayElement is processed 2x (1x when we loop through in the rule, 1x when we loop through the ast). But the perf reduction is negligble compared to the per production of producing thousands of diagnostics vs 1 diagnostic. This means that linting nodejs/node now takes ~1.5 seconds vs ~2:30 previously |
||
|---|---|---|
| .. | ||
| deepscan | ||
| eslint | ||
| import | ||
| jest | ||
| jsx_a11y | ||
| oxc | ||
| react | ||
| typescript | ||
| unicorn | ||