Average time computation just prints out "10??"

Aleksey Shipilev shade at redhat.com
Mon Oct 1 17:04:23 UTC 2018


On 10/01/2018 06:39 PM, David Karr wrote:
> I created the following: https://github.com/davidmichaelkarr/jmhUnitsIssues .  It's not repeatable
> in place.  I didn't see any way to create the package tree, as opposed to just uploading the two
> source files.  The readme describes where the source file needs to reside in the tree.

Oh wait, my bad! You need:

@OutputTimeUnit(TimeUnit.MICROSECONDS)

The timeunits in @Warmup/@Measurement relate to the durations of the iterations themselves.

Or, you can use "-tu us" from command line.

-Aleksey



More information about the jmh-dev mailing list