Batch size.
Aleksey Shipilev
aleksey.shipilev at oracle.com
Fri Feb 14 03:21:38 PST 2014
On 02/14/2014 03:09 PM, Sergey Kuksenko wrote:
> I did "batch size" feature, which allows enlarge operations due to
> repeated benchmarked method invocation specified amount of times. (works
> for SingleShot now).
The idea looks good.
> diff:
> https://gist.github.com/kuksenko/6829d80a4c0f8e7cfa67
It deserves a few more things:
* it/singleshotbatch/ should be named it/batchsize/
* Can you add a few it/compile tests to make sure the benchmarks having
the @W/@M annotations without batchSize attribute are still acceptable?
This is implicitly tested by other tests, but it would be nice to have
the targeted tests.
* Measurement.BLANK_BATCHSIZE should be -1, to accept @M(batchSize = 1)
as the valid setting, and not treated as the default. Ditto for
Warmup.BLANK_BATCHSIZE.
Thanks,
-Aleksey.
More information about the jmh-dev
mailing list