jzillmann / jmh-visualizer

Visually explore your JMH Benchmarks
https://jmh.morethan.io
GNU Affero General Public License v3.0
297 stars 23 forks source link

Incorrect measurement values extracted/shown from json file #51

Open mohe2015 opened 6 months ago

mohe2015 commented 6 months ago

This json file gets incorrectly visualized when uploading to https://jmh.morethan.io/:

image

jzillmann commented 6 months ago

So what's incorrect ?

mohe2015 commented 6 months ago

So what's incorrect ?

E.g. the visualization shows 7 as score but the json file has 6.780421849276446

mohe2015 commented 6 months ago

Now I see that the error is larger than the score. Maybe that has something to do with that? But this is data that jmh produced so I don't know how that can happen.

jzillmann commented 6 months ago

Ok, so it looks like a rounding problem described in https://github.com/jzillmann/jmh-visualizer/issues/21