Pausing benchmarks

Chris Vest mr.chrisvest at gmail.com
Fri Aug 21 11:49:50 UTC 2015


Hi,

If I have a benchmark that runs for a long time, I might get into the situation where I need to use the machine for something else for a little while.

I’m wondering if it’s possible to pause a benchmark, without badly influencing the measurements, by sending the -STOP signal to the parent JMH process (assuming -f >= 1), and then wait for the iteration or the fork to finish.

Cheers,
Chris



More information about the jmh-dev mailing list