When running the unit and functional tests under a sanitizer (as done in some CI tasks), the CPU usage could be better. Currently, one or two slow running unit tests idle along on a single CPU thread.
Can be seen in this graph, which shows an initial spike during compilation, then the slow unit tests, and finally the functional test CPU usage:
It would be nice to somehow fix this. Options are:
- Speed up the unit tests (not sure how easy this is, or if this is possible at all)
- Run the functional tests along with the ctest-tests in parallel somehow
- Something else?