-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
23.2.0 to 23.3.0 10x slower #6885
Comments
Interesting, would be great to determine exact commit. |
I don't know how to do that. |
There's instruction on how to link Jest in Contributing guide in the root of the project, setup watch for rebuilding and then one can use git bisect. |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
💥 Regression Report
I upgraded jest from 23.2.0 to 23.5.0 and now my tests run 10x slower.
I am using typescript with ts-jest.
The only difference is the version of jest.
Last working version
Worked up to version: 23.2.0
Stopped working in version: 23.3.0
To Reproduce
Steps to reproduce the behavior:
clone https://github.com/asafigan/jest-upgrade-issue
yarn install
yarn test --watch
press a to run all tests
after they run press enter to re run tests
I get a time of 0.736s
yarn upgrade [email protected]
yarn test --watch
press a to run all tests
after they run press enter to re run tests
I now get a time of 7.681s
Feel free to use the docker-compose configuration provided in the repo.
Expected behavior
time to run tests should stay about the same.
Link to repl or repo (highly encouraged)
https://github.com/asafigan/jest-upgrade-issue
Run
npx envinfo --preset jest
Paste the results here:
System: OS: Linux 4.9 Debian GNU/Linux 8 (jessie) 8 (jessie) CPU: x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz Binaries: Node: 8.11.3 - /usr/local/bin/node Yarn: 1.6.0 - /usr/local/bin/yarn npm: 5.6.0 - /usr/local/bin/npm npmPackages: jest: ^23.2.0 => 23.2.0
The text was updated successfully, but these errors were encountered: