Consider adding a system-sleep disabler

Aleksey Shipilev shade at redhat.com
Mon Mar 28 13:19:00 UTC 2022


On 1/30/22 23:23, Petr Janeček wrote:
> Would you consider adding similar functionality into JMH itself? It's annoying when I kick off a 
> 30-minute benchmark only to come back in an hour and find the benchmark was interrupted in half 
> and the system went to sleep.
This is a clear machine misconfiguration. Disable system sleep it that is a problem.
Messing up with user inputs is a big no-no for good applications.

-- 
Thanks,
-Aleksey



More information about the jmh-dev mailing list