diff options
| author | Jeff Epler <jepler@gmail.com> | 2018-03-31 09:32:20 -0500 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2018-03-31 10:38:54 -0500 |
| commit | a3309ebb809ba8f881d837aaef4997e2adab928a (patch) | |
| tree | 48f8d9c2b1dc8e29042b3241586bb6a853348cd9 /shared-module/struct | |
| parent | b9dd6a5bb4556f848b016dd61b399d07d83a21e0 (diff) | |
run-tests: optionally parallelize tests
When requested via 'run-tests -j', more than one test will be run
at a time. On my system, (i5-3320m with 4 threads / 2 cores), this
reduces elapsed time by over 50% when testing pots/unix/micropython.
Elapsed time, seconds, best of 3 runs with each -j value:
before patchset: 18.1
-j1: 18.1
-j2: 11.3 (-37%)
-j4: 8.7 (-52%)
-j6: 8.4 (-54%)
In all cases the final output is identical:
651 tests performed (18932 individual testcases)
651 tests passed
23 tests skipped: buffered_writer...
though the individual pass/fail messages can be different/interleaved.
Diffstat (limited to 'shared-module/struct')
0 files changed, 0 insertions, 0 deletions
