Playwright · Senior · Question 3 of 77
Why does fullyParallel help balance shards?
- 1It makes each shard use more CPU cores at once
- 2Tests, not whole files, are distributed between shards
- 3It sorts the tests from the slowest to the fastest
Show the answer
Correct answer: Tests, not whole files, are distributed between shards
Explanation
Without it, a shard gets whole files, so one huge file can make that shard much slower than the others.