https://github.com/olebedev/jest-perf-issue
https://github.com/olebedev/jest-perf-issue
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/olebedev/jest-perf-issue
- Owner: olebedev
- Created: 2020-03-25T03:36:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T17:03:01.000Z (over 3 years ago)
- Last Synced: 2025-07-01T23:04:01.995Z (about 1 year ago)
- Language: TypeScript
- Size: 2.7 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> This repo was made to provide a reproducible case of jest performance degradation on 25.x version with `--coverage` flag. See https://github.com/facebook/jest/issues/9457
### How to reproduce
```bash
$ rm -rf target node_modules # make sure you delete `target` & `node_modules`
$ yarn # install node_modules
$ yarn test bin/ci/hoydenism --coverage # run the tests
```
> Note: the `master` branch is pointed to `jest@24.9.0`, `jest25` branch is pointed to `jest@25.1.0`.
### Results
Benchmarks were ran on `MBP 2019, 32Gb RAM, i9-8950HK CPU @ 2.90GHz`.
| jest version | branch | time |
|:--------------|:------:|----------:|
| `24.9.0` |`master`| `348.077s`|
| `25.1.0` |`jest25`| `591.33s`|