This patch implements a better balancing algorithm for selftest --parallel=fork.
It leads to ~25% smaller elapsed time on 4-core (8 threads) host.
Or said otherwise, running the full test suite goes down from 4 minutes to 3 minutes.
I also added a '-Eslices' that helps understand how the tests are distributed.
This patch implements a better balancing algorithm for selftest --parallel=fork.
It leads to ~25% smaller elapsed time on 4-core (8 threads) host.
Or said otherwise, running the full test suite goes down from 4 minutes to 3 minutes.
I also added a '-Eslices' that helps understand how the tests are distributed.