-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance regression in 8.0.0 #268
Comments
I have noticed the same issue. In our project we have 550 test files. The time needed linting them has dramatically increased: ESLint without mocha plugin: 01m04s |
Thanks for reporting this. My initial assumption is that the refactoring of |
Just to add some details from my runs:
|
I'm also seeing these performance issues. I'm testing stability of some well-known ESLint community plugins and
CI runs of
|
Any updates on this issue ? |
@serut as mentioned in the release notes, with version 8.1.0 the rules |
@lo1tuma do you have any benchmarks for how those rules in 8.1 perform compared to how they perform in 7.x? I missed those, if they were available |
|
refs: lo1tuma/eslint-plugin-mocha#268 - eslint-plugin-mocha v8 has a huge performance issue - it makes linting out tests take more than a minute! - reverting to v7 fixes this, and as far as I can tell does not remove any critical features or fixes that we rely upon
When I upgraded from 7.0.1 to 8.0.0, linting my project started taking 2.5x as long as before.
git bisect
says:The text was updated successfully, but these errors were encountered: