-
-
Notifications
You must be signed in to change notification settings - Fork 69
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 issues after updating to 3.8.0 #348
Comments
#345 could also be a suspect as well. I will look into this when I have time. In the meantime, you could try Also cc @carlocorradini on this. |
Before invoking the mapping function, we must ensure that the current file is allowed to resolve the path (this eliminates a variety of issues).
What do you think? |
@jtarvainen Give additional information about your environment:
Thanks |
My lint-stage hangs on eslint forever even only 1 file is changed. Seems 3.7 is OK. Had to lock that version for now. |
Can you give us a reproducible example so we have something to analyze? |
@jtarvainen @justnewbee |
@carlocorradini At least mine doesn't. |
@jtarvainen |
I'm also seeing a huge performance regression between
|
On MacOS, when I upgrade to 3.8.0 I see several prompts to access different folders.
This feels like something serious may be happenning here. It took a couple hours to understand that this is caused because of this package only. I made sure no other packages, including secondary dependencies were updated. For precaution I didn't give access and I rolled back the upgrade. |
PR #352 should fix the issue |
@carlocorradini Will this fix the issue even if one's tsconfig doesn't contain the |
@jtarvainen If neither the PS: How many files are in your project? eslint-import-resolver-typescript/src/index.ts Lines 440 to 447 in e9bceed
|
I can confirm that the change in #352 fixes the regression for our projects. |
@ehoogeveen-medweb Awesome thanks! 🥳 |
v3.8.1 has been released, thanks @carlocorradini! |
I encountered a massive performance hit in my Meteor project after updating from 3.7.0 to 3.8.0. An
eslint
run that previously took approx. 6 seconds locally (MacOS) now took approx. 75 s (12x). I also noticed the impact in a Linux environment, though there it was less severe (approx. 40 % slowdown).I assume this is related to the switch from
fast-glob
totinyglobby
. Perhaps something to look into?The text was updated successfully, but these errors were encountered: