akarnokd/jmh-compare-gui

Unsupported number format

darkfrog26 opened this issue · 4 comments

I am trying to import the contents below into the GUI and I'm getting an Error dialog with "Unsupported number format"

Benchmark                   Mode   Cnt    Score    Error   Units
Test.slickDelete           thrpt     2    0.003           ops/ms
Test.slickInsertBatch      thrpt     2    0.040           ops/ms
Test.slickInsertSeparate   thrpt     2    0.023           ops/ms
Test.slickQuery            thrpt     2    0.005           ops/ms
Test.slickUpdate           thrpt     2    0.006           ops/ms
Test.srDelete              thrpt     2    1.069           ops/ms
Test.srInsertBatch         thrpt     2    0.389           ops/ms
Test.srInsertMapper        thrpt     2    0.012           ops/ms
Test.srInsertSeparate      thrpt     2    0.146           ops/ms
Test.srQueryConvert        thrpt     2    0.167           ops/ms
Test.srQueryMap            thrpt     2    0.156           ops/ms
Test.srQueryTo             thrpt     2    0.123           ops/ms
Test.srUpdate              thrpt     2    0.224           ops/ms
Test.slickDelete            avgt     2  212.773            ms/op
Test.slickInsertBatch       avgt     2   25.639            ms/op
Test.slickInsertSeparate    avgt     2   53.300            ms/op
Test.slickQuery             avgt     2  300.195            ms/op
Test.slickUpdate            avgt     2  262.242            ms/op
Test.srDelete               avgt     2    1.093            ms/op
Test.srInsertBatch          avgt     2    3.000            ms/op
Test.srInsertMapper         avgt     2   82.597            ms/op
Test.srInsertSeparate       avgt     2    7.986            ms/op
Test.srQueryConvert         avgt     2    6.729            ms/op
Test.srQueryMap             avgt     2    7.225            ms/op
Test.srQueryTo              avgt     2    7.901            ms/op
Test.srUpdate               avgt     2    5.162            ms/op
Test.slickDelete          sample     8  280.396 ± 83.529   ms/op
Test.slickInsertBatch     sample    78   26.102 ±  1.098   ms/op
Test.slickInsertSeparate  sample    38   54.234 ±  3.824   ms/op
Test.slickQuery           sample     9  272.834 ± 58.646   ms/op
Test.slickUpdate          sample     8  283.836 ± 66.506   ms/op
Test.srDelete             sample  1749    1.142 ±  0.020   ms/op
Test.srInsertBatch        sample   660    3.031 ±  0.055   ms/op
Test.srInsertMapper       sample    26   82.727 ±  1.391   ms/op
Test.srInsertSeparate     sample   250    8.016 ±  0.077   ms/op
Test.srQueryConvert       sample   295    6.792 ±  0.119   ms/op
Test.srQueryMap           sample   281    7.122 ±  0.077   ms/op
Test.srQueryTo            sample   247    8.096 ±  0.088   ms/op
Test.srUpdate             sample   375    5.350 ±  0.192   ms/op
Test.slickDelete              ss     2  249.530            ms/op
Test.slickInsertBatch         ss     2   25.078            ms/op
Test.slickInsertSeparate      ss     2   78.401            ms/op
Test.slickQuery               ss     2  274.850            ms/op
Test.slickUpdate              ss     2  261.700            ms/op
Test.srDelete                 ss     2    3.052            ms/op
Test.srInsertBatch            ss     2    3.093            ms/op
Test.srInsertMapper           ss     2   85.137            ms/op
Test.srInsertSeparate         ss     2    8.081            ms/op
Test.srQueryConvert           ss     2    6.811            ms/op
Test.srQueryMap               ss     2    7.371            ms/op
Test.srQueryTo                ss     2    8.095            ms/op
Test.srUpdate                 ss     2    5.161            ms/op

Hi, it requires an error number but your data doesn't have it for many of the rows. I don't know if such output is standard for JMH or not because I never saw it with 0.9.

I'm using JMH 1.10

Your best option is to add 0 to the rows for now:

Benchmark                   Mode   Cnt    Score    Error   Units
Test.slickDelete           thrpt     2    0.003      0     ops/ms
Test.slickInsertBatch      thrpt     2    0.040      0     ops/ms
...

I can't do much about the situation because I'm occupied with something non-programming related at the moment and it will take at least 2 months until I can come back to the issue.

That did fix the problem.