-
Notifications
You must be signed in to change notification settings - Fork 453
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
RFC: Performance after upgrading from 25.2.1 to 25.3.0 #1470
Comments
can you please provide more information ? Do you run with or without cache ? Did you clear cache after upgrading to 25.3.0 ? |
I tried to run jest with |
from what I can see is, before upgrading probably your tests ran with cache. After upgrading, old cache becomes invalid so tests will need to cache again. That's why you saw a big difference. Several steps that you can help us to verify is:
If the amount of time tests take is the same for these above steps, it means no downgrade |
Thank you for the suggestion, but it did not help as well :( |
Hmm I don’t see any issues on my side. Also confirmed from #1450 (comment) |
Any chances to have your repo to try out ? |
Unfortunately no. |
Maybe it's related but moving to 25.3.0, it seems that a lot more files are getting compiled. We use this in a rails project and are now getting a bunch of errors like |
thanks for your feedback. Do you use |
yes, I do. After checking the other issues, I think #1472 will probably resolve the error for me. |
I want to add that we are using |
if you guys don't mind, please test with this tgz file. I just made an attempt to fix it but not so sure. |
I'm hitting the same problem just after the upgrade to 25.3.0 and I have a lot of: I'm using |
hi guys, please test again this branch https://github.com/ahnpnl/ts-jest/tree/fix-diagnostics to see if it helps |
Seems like I cannot install it from GitHub with
NOTE: I'm in a monorepo. |
Here is the zip of the tgz file. |
Alright, seems like we have some good news: installed the new version from your zip I can run the tests without the Also I have notice the slowness just the first time I run it, but the second run, using the cache, it goes down to 5 seconds running all tests. So I can say the last fix solved the problem. Looking forward for the It is also worth to say that I haven't changed my Thanks for your time @ahnpnl! |
thanks a lot for helping us !. I will make a PR shortly 👍 |
@ahnpnl, thanks a lot for the fix! Do you know when it will be released? |
we are having a bit issue with publishing today, but will be solved shortly. Stay tune :) Updated: 25.3.1 is out |
Yes, we also experienced perf degradation. Will test with 25.3.1 |
Issue :
25.3.0 version is extremely slow compared to 25.2.x.
E.g. my previous test runs were 17s, and 135s after update.
The text was updated successfully, but these errors were encountered: