I'm using TestNG (in Netbeans 8) to unit test a Java Keccak implementation, and currently the test suite contains 51,840 tests.
When I instruct TestNG to run every test in the package, initially CPU usage is tickling the 100% ceiling, and the test counter climbs like a rocket. But after a minute or so CPU usage clambers down and seems happy to linger between 30% and 60%, and the test counter climbs at a frustratingly more leisurely pace. (CPU utilisation is as reported by KDE System Monitor.)
The tests are all of the same nature (binary operations for hash calculation), and TestNG has been instructed to run in parallel mode with the following being found in the NGSuite.xml file:
<suite name="Cryptography" verbose="1" parallel="classes" thread-count="8">
Have others seen this behaviour, and is there an established explanation for it?