Multiple JVMs, different numbers of threads and BenchmarkMode
Bernd
ecki at zusammenkunft.net
Mon Aug 4 07:22:30 UTC 2014
Am 03.08.2014 18:30 schrieb "Aleksey Shipilev" <aleksey.shipilev at oracle.com
>:
> AverageTime or Throughput, obviously. I'm not sure how much of a problem
> that is, actually. We should not care how many times @Benchmark was
> called in throughput modes, we should only care it was called *enough*
> times.
Actually this is something, I was wondering about: when minimizing runtime
of warmup and benchmark I typically do some test runs to get a feeling for
the throughput and then calculate the number of repetitions for the chosen
time in head. I wonder why the number of executions for each iteration is
not printed.
Maybe if you dont want to clutter the output we can only print it if the
number is rather low?
Gruss
Bernd
More information about the jmh-dev
mailing list