Open strager opened 2 years ago
One technique is to use jest-runner-eslint to parallelize ESLint across files: https://github.com/eslint/eslint/issues/3565#issuecomment-1075309795
Profiling ESLint on Prettier with Chrome's about://inspect:
$ time EFF_NO_LINK_RULES=true ~/tmp/Projects/nvm/versions/node/v18.6.0/bin/node --enable-source-maps --inspect-brk ./node_modules/.bin/eslint . --format friendly
It shows that NodeEventGenerator.applySelector is the hottest function (39% of wall time). parse
(Espree) only took 8% of wall time.
Some ideas:
--cache
TIMING=1
)