diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-05-15 08:17:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 08:17:12 +0200 |
commit | d6b1c24079640c37e24191898e2f05cf4deac125 (patch) | |
tree | 4c82525c8b6b78c382429384917a5ec4b5dd8357 /windows/nDPI.vcxproj | |
parent | 0110623b4ed94e49f2821073146d705856ed149f (diff) |
Parallel execution of unit tests (#2435)
Running unit tests is quite a bottleneck while developing or while
waiting for GitHub CI results...
Try to run the tests in parallel, using the `parallel` tool.
By default, tests still run one after the other, as usual; to enable
parallel execution you need `NDPI_FORCE_PARALLEL_UTESTS=1 ./tests/do.sh`
Please note that the output is quite different in parallel mode!
A big part of the script has been rewritten to avoid code dupication
between "serial" and "parallel" path
On my notebook:
```
ivan@ivan-Latitude-E6540:~/svnrepos/nDPI(parallel)$ time ./tests/do.sh
[...]
real 3m12,684s
[...]
ivan@ivan-Latitude-E6540:~/svnrepos/nDPI(parallel)$ time NDPI_FORCE_PARALLEL_UTESTS=1 ./tests/do.sh
[...]
real 0m58,463s
```
Diffstat (limited to 'windows/nDPI.vcxproj')
0 files changed, 0 insertions, 0 deletions