playwright icon indicating copy to clipboard operation
playwright copied to clipboard

feat(test runner): workers as percentage

Open jfgreffier opened this issue 3 years ago • 0 comments

Allows to set workers as a percentage of logical CPUs, for example "50%".

Examples :

npx playwright test --workers 3
npx playwright test --workers 50%
const config: PlaywrightTestConfig = {
  // ...
  workers: '33%',
}

Fixes #17204

jfgreffier avatar Sep 16 '22 16:09 jfgreffier