Average time computation just prints out "10??"

Bernd Eckenfels ecki at zusammenkunft.net
Sat Sep 29 18:28:31 UTC 2018


It does use unicode characters (mu and plusminus), you need to make sure your console encoding which is reflected in the platform encoding actually supports this.

Besides that can you show some samples, the unit annotation works in my experience for the aggregate tables at the end of the run.

Gruss
Bernd

Gruss
Bernd
--
http://bernd.eckenfels.net

________________________________
Von: -2083622320m Auftrag von
Gesendet: Samstag, September 29, 2018 6:21 PM
An: jmh-dev at openjdk.java.net
Betreff: Average time computation just prints out "10??"

I was able to get throughput numbers for benchmarks, but now I want to see
average times for them. They are pretty short blocks, so it would be nice
if I could get them rendered in microseconds, but I don't see an obvious
way to do that.

However, even before trying to configure the units, I'm trying to
understand the output I'm getting. The results I get all say "10?? s/op".
I thought perhaps this was trying to render unicode, but when I stored the
output in a file and inspected it, I saw that those really are "?"
characters.

What can I do about this?


More information about the jmh-dev mailing list