Skip to content
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

Closed
asafigan opened this issue Aug 24, 2018 · 6 comments
Closed

23.2.0 to 23.3.0 10x slower #6885

asafigan opened this issue Aug 24, 2018 · 6 comments

Comments

@asafigan
Copy link

💥 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
@thymikee
Copy link
Collaborator

Interesting, would be great to determine exact commit.

@asafigan
Copy link
Author

I don't know how to do that.

@thymikee
Copy link
Collaborator

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.

@github-actions
Copy link

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.

@github-actions github-actions bot added the Stale label Feb 25, 2022
@github-actions
Copy link

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.

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants