Question about iteration numbers
Aleksey Shipilev
aleksey.shipilev at oracle.com
Thu Jun 23 17:04:34 UTC 2016
On 16.06.2016 19:24, Zoltan Farkas wrote:
> I have a questions about iteration numbers:
> # Warmup Iteration 1: 62995.070 ops/s
> # Warmup Iteration 2: 70660.918 ops/s
> # Warmup Iteration 3: 73127.240 ops/s
> ...
> Iteration 1: 73277.416 ops/s
> Iteration 2: 72664.450 ops/s
> Iteration 3: 72385.558 ops/s
>
> Is there a way to obtain this number from void
> InternalProfiler.beforeIteration(BenchmarkParams benchmarkParams,
> IterationParams iterationParams)?
No, there is no way to get this data from within the profiler. Both
BenchmarkParams and IterationParams are the configuration parameters,
not the on-going run state.
Why would you need it?
Thanks,
-Aleksey
More information about the jmh-dev
mailing list