Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default number of threads based on number of cores
Using more threads than cores results in unnecessary context switches and will actually decrease throughput. I set the number of threads to the number cores minus 1 so the OS has one core to do other pressing things and does not need to congest the cores utilized by JMH.
- Loading branch information