angular-eslint / angular-eslint

:sparkles: Monorepo for all the tooling related to using ESLint with Angular
MIT License
1.64k stars 224 forks source link

Profiling eslint rules performance #1370

Open anikets43 opened 1 year ago

anikets43 commented 1 year ago

How to profile eslint rules performance with @angular-eslint/builder

Ref: https://eslint.org/docs/latest/extend/custom-rules#profile-rule-performance

Versions

package version
@angular-eslint/builder ^15.2.1
ESLint ^8.40.0
node 16.18.1
JamesHenry commented 1 year ago

ESLint does not support it outside of their own CLI. It has been requested so you can follow along with the issue/RFC:

https://github.com/eslint/eslint/issues/16521

AbdealiLoKo commented 2 months ago

Came to this issue due to our eslint running for over 10mins ...

Looks like the original eslint ticket merged in eslint v9.x https://github.com/eslint/eslint/commit/de408743b5c3fc25ebd7ef5fb11ab49ab4d06c36

Is there any documentation on how to use this with @angular-eslint/builder ?

pumano commented 1 month ago

looks like https://github.com/eslint/eslint/pull/17850/files it added