[PATCH 0/3] Enable parallelized tests
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:07
This patch pair enables parallel tests. On a pretty beefy machine,
$ /usr/bin/time make -j50
shows this:
69.33user 92.33system 0:59.26elapsed 272%CPU (0avgtext+0avgdata
0maxresident)k 0inputs+0outputs (0major+33007360minor)pagefaults 0swaps
vs.
$ /usr/bin/time make
showing this:
61.25user 75.10system 3:57.68elapsed 57%CPU (0avgtext+0avgdata
0maxresident)k 0inputs+0outputs (0major+32897071minor)pagefaults 0swaps
Note: the machine was used for other tasks during the test, too.
These results are with SVN/CVS tests enabled. I am pretty sure that the
results would be even more impressive without them (the SVN/CVS tests come
all at the end, and seem to idle the CPU mostly, and the last few seconds
are only spent on 2 tests).
Johannes Schindelin (3):
t9700: remove useless check
tests: Clarify dependencies between tests, 'aggregate-results' and
'clean'
Enable parallel tests
t/Makefile | 15 ++++++++++++---
t/t9700/test.pl | 3 ---
t/test-lib.sh | 11 ++++++++++-
3 files changed, 22 insertions(+), 7 deletions(-)