aptible / dashboard.aptible.com

DEPRECATED - Ember.js dashboard for the Aptible PaaS
https://dashboard.aptible.com
MIT License
81 stars 35 forks source link

Parallelized Tests #690

Closed skylar-anderson closed 8 years ago

skylar-anderson commented 8 years ago

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.

Here are my local results:

Without parallelization:

screenshot 2016-08-11 10 45 59

With split=3

screenshot 2016-08-11 10 49 00

With split=8

screenshot 2016-08-11 10 46 56
gib commented 8 years ago

Awesome! Thanks @sandersonet!