Jest 28’s Dynamic maxWorkers Setting Introducing Latency Under High Concurrency
When running a Jest test suite with many files, the observed latency per test increases only when the number of concurrently executing files exceeds the default worker pool size, while sequential execution shows stable timing. The goal is to determine whether this latency originates from the dynamic maxWorkers calculation, the re‑execution of global setup/te