Parameterising over thread count

Chris Vest mr.chrisvest at gmail.com
Fri Oct 17 12:22:42 UTC 2014


Hi,

This might have been mentioned before. Seeing how the level of contention influence the performance of something is a common use case for me. Today I have to run my benchmark many times with different -t settings, and then collect the output in a text editor or something.

It’s a bit bothersome and it’d be nice if I could just pass a comma-separated list of thread counts to -t, and then have JMH effectively treat it as just another parameter. 

Cheers,
Chris



More information about the jmh-dev mailing list