Use 'useAllCores' for benchmarks.
Use all cores for tests.