powa-team / powa-web

PoWA user interface
http://powa.readthedocs.io/
73 stars 31 forks source link

Incorrect units of measurement on the time scale on the chart #174

Closed plvnv closed 1 year ago

plvnv commented 1 year ago

Total runtime = 76s 188ms Number of Execution = 488910

Total runtime/Number of Execution = 0,00015583 s = 156 µs

But on the chart we see 15 s

powa-web version 4.1.4

image

rjuju commented 1 year ago

Hi,

I think it's just a limitation of the current graph framework. The green series is the number of row, so something between 10k and 15k. The rest of the series are duration series, but none of them are getting even close to the 15s. It's just that the underlying library synchronizes both Y axis even if the values are in totally disjoint ranges. Do you see an value close to 15s when you hover the various series?

You can also try to disable the "#Rows" series only by clicking on the tick (the ✔) next to that series, the Y axis should then automatically scale to the range of the enabled series. Does it show something closer to the expected duration?

plvnv commented 1 year ago

Yes, you seem to be right.

image

rjuju commented 1 year ago

Great, thanks for the confirmation!