This PR reduces the time to run ember test by about 75%(2:38 => 0:43 for me).
To run tests in parallel, use the ember exam --split=[n] --parallel command where split is the number of batches to divvy up the tests into. I found the best performance with 8, but you may find more optimal number on your local machine. Use time ember exam --split=n --parallel to measure the time for your test suite to run.
This PR reduces the time to run
ember test
by about 75%(2:38 => 0:43 for me).To run tests in parallel, use the
ember exam --split=[n] --parallel
command wheresplit
is the number of batches to divvy up the tests into. I found the best performance with 8, but you may find more optimal number on your local machine. Usetime ember exam --split=n --parallel
to measure the time for your test suite to run.Here are my local results:
Without parallelization:
With split=3
With split=8