eishay / jvm-serializers

Benchmark comparing serialization libraries on the JVM
http://groups.google.com/group/java-serialization-benchmarking
3.29k stars 562 forks source link

fix measurement unit to nonasecond for average/deviation #83

Closed Xztty closed 5 years ago

Xztty commented 5 years ago

the result of every iteration serializers.TestCase#run is measured by System.nanoTime(), so the average and deviation should not be ms unit, it must be ns unit.

pascaldekloe commented 5 years ago

Can you please include a JavaDoc line about the unit in TestCase?

Xztty commented 5 years ago

I add a simple JavaDoc for return value.

pascaldekloe commented 5 years ago

Thanks for caring. :-)