Replies: 6 comments 8 replies
-
There's no definitive performance test for ESLint v8 vs. v9 because it depends largely on what you have in your configuration file. When ESLint v9.0.0 was released, there were some performance regressions, and those are all fixed now. In general, people seem to get roughly the same performance out of v9 that they did in v8. If you find a big difference, please let us know. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I upgraded a project few days ago, and the lint step got 2x faster. Seems quite unbeliavable, so I'm still a bit paranoid on whether I missed something when migrating the config, but so far everything seems to be working correctly. Needless to say there's also |
Beta Was this translation helpful? Give feedback.
-
For my medium-sized project (~250 kB of .js and .vue files), ESLint 9 is generally similar in performance to 8. I'm using However, that's only in the general case. Because randomly, several times a day, without any apparent reason, ESLint 9 suddenly takes 15-20 seconds instead of the usual 3-5. I may have switched code branches or changed configuration in the meantime, but I can never reproduce this effect doing the same on purpose afterwards, and I don't see a reason why ESLint should ever take longer than it normally does without cache. I've never seen such massive performance differences with ESLint 8, or with any other tool really. I started running it with Normal run:
Slow run:
Since it's very annoying when routine linting takes several times longer than usual, I'm downgrading to ESLint 8 for now. |
Beta Was this translation helpful? Give feedback.
-
It looks like there are no definitive reports on the performance between eslint v8 and v9, I need to actually try it out in my project. |
Beta Was this translation helpful? Give feedback.
-
In our experience, when we migrated our large (many plug-ins/rules) eslint config from v8 to v9, the startup of eslint got significantly slow. I haven't captured before-and-after figures, but the difference is felt across the entire development team. When running with |
Beta Was this translation helpful? Give feedback.
-
My team too migrated from ESlint v8 to v9, about 120k lines of code with these plugins After updating our |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I haven't seen any performance comparison test between ESlint v8 and v9 anywhere. Even at bench-javascript-linter I saw a report that v9 may be slower than v8.
Where can I find relevant test reports or clear conclusions? My team is currently trying to migrate ESlint v8 to v9, but we are more concerned about the performance gains before and after the migration.
Beta Was this translation helpful? Give feedback.
All reactions