Converted macro benchmark summary from seconds to milliseconds.

Reviewers: mislav.bradac

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D730
This commit is contained in:
Matej Ferencevic 2017-08-31 09:45:44 +02:00
parent 1e87f888ae
commit 24b52270e4

View File

@ -62,9 +62,9 @@ def compare_values(data_cur, data_prev):
sign = " {icon arrow-up color=red}"
else:
sign = ""
item = "{:.9f} //({:+.2%})//{}".format(item_cur, diff, sign)
item = "{:.3f}ms //({:+.2%})//{}".format(item_cur * 1000.0, diff, sign)
else:
item = "{:.9f} //(new)// {{icon plus color=blue}}".format(item_cur)
item = "{:.3f}ms //(new)// {{icon plus color=blue}}".format(item_cur * 1000.0)
ret[i].append(item)
return ret