-
-
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
Allow % based configuration of max workers #7494
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7494 +/- ##
==========================================
+ Coverage 67.44% 67.46% +0.01%
==========================================
Files 247 247
Lines 9511 9516 +5
Branches 6 6
==========================================
+ Hits 6415 6420 +5
Misses 3094 3094
Partials 2 2
Continue to review full report at Codecov.
|
Thoughts @cpojer? |
Sure. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just a couple comments to review
Co-Authored-By: phawxby <phawxby@gmail.com>
LGTM, thanks! |
* master: (24 commits) Add `jest.isolateModules` for scoped module initialization (jestjs#6701) Migrate to Babel 7 (jestjs#7016) docs: changed "Great Scott!" link (jestjs#7524) Use reduce instead of filter+map in dependency_resolver (jestjs#7522) Update Configuration.md (jestjs#7455) Support dashed args (jestjs#7497) Allow % based configuration of max workers (jestjs#7494) chore: Standardize filenames: jest-runner pkg (jestjs#7464) allow `bail` setting to control when to bail out of a failing test run (jestjs#7335) Add issue template labels (jestjs#7470) chore: standardize filenames in e2e/babel-plugin-jest-hoist (jestjs#7467) Add node worker-thread support to jest-worker (jestjs#7408) Add `testPathIgnorePatterns` to CLI documentation (jestjs#7440) pretty-format: Omit non-enumerable symbol properties (jestjs#7448) Add Jest Architecture overview to docs. (jestjs#7449) chore: run appveyor tests on node 10 chore: fix failures e2e test for node 8 (jestjs#7446) chore: update docusaurus to v1.6.0 (jestjs#7445) Enhancement/expect-to-be-close-to-with-infinity (jestjs#7444) Update CHANGELOG formatting (jestjs#7429) ...
* Allow % based configuration of max workers * Add pull ref * Whoops, copy and paste * Update docs/CLI.md Co-Authored-By: phawxby <phawxby@gmail.com> * Move changlog entry
* Allow % based configuration of max workers * Add pull ref * Whoops, copy and paste * Update docs/CLI.md Co-Authored-By: phawxby <phawxby@gmail.com> * Move changlog entry
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
We have various machines in use between 4-16 threads but we always need to have spare threads available for other things like puppeteer/chrome. Doing this will allow simple
--maxWorkers=50%
to always have spare CPU available;Test plan