Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up tests locally by upto 45% (#1818)
# Which problem is this PR solving? - This PR aims to add an additional flag to the jest script which would make running tests locally even faster than ever. ## Description of the changes - It uses `--maxWorkers=50%` flag to do so. ## How was this change tested? - It was tested with several flags as below; ```bash ----------------- yarn test Time: 96.903 s ----------------- yarn test --runInBand Time: 131.721 s, estimated 606 s ----------------- yarn test --maxWorkers=50% Time: 53.295 s ----------------- ``` Operating System Used to Benchmark: `Ubuntu 22` ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [x] I have added unit tests for the new functionality - [x] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` Signed-off-by: Ansh Goyal <anshgoyal1704@gmail.com>
- Loading branch information