· Swadhin Kumar · Software Development
When `sbt test` Is Secretly Single-Threaded
SBT's defaults run your test suite sequentially in a single JVM. On an 8-core box with tens of thousands of tests, seven cores stay idle the whole run. Here are the settings that fix it.