Benchmark iteration time of SS mode when measurement iteration time is specifed
Aleksey Shipilev
aleksey.shipilev at oracle.com
Sun Aug 3 15:53:44 UTC 2014
Hi Li,
On 08/01/2014 06:05 AM, Li Guoyu wrote:
> I specified the measurement time for ss benchmark because one of my
> test took more than 10 minutes to complete, and it seems the max time
> is 10 minutes and otherwise it will be interrupted. Specifying the
> measurement time to 30 minutes resolved the interrupted exception,
> but every benchmark took 30 minutes to complete although the actual
> time needed is 10+ minutes.
Ah yes, thanks. In SS mode, specifying the run time is indeed lifts the
timeout. But, alas, the generic codepath that executes for all
benchmarks sleeps for the run time. This fits all the benchmark modes,
except from SS. Fixed:
http://hg.openjdk.java.net/code-tools/jmh/rev/5d6eee917c11
Can you build 1.0-SNAPSHOT and test with it?
-Aleksey.
More information about the jmh-dev
mailing list