if u"TCP_CPS" in test[u"tags"]:
test_type = u"VSAP_CPS"
y_vals[test[u"parent"]].append(
- test[u"result"][u"cps"] / 1e6
+ test[u"result"][u"cps"]
)
elif u"TCP_RPS" in test[u"tags"]:
test_type = u"VSAP_RPS"
y_vals[test[u"parent"]].append(
- test[u"result"][u"rps"] / 1e6
+ test[u"result"][u"rps"]
)
else:
continue
layout[u"title"] = f"<b>Bandwidth:</b> {layout[u'title']}"
elif test_type == u"VSAP_CPS":
layout[u"title"] = f"<b>CPS:</b> {layout[u'title']}"
- layout[u"yaxis"][u"title"] = u"<b>Connection Rate [Mcps]</b>"
+ layout[u"yaxis"][u"title"] = u"<b>Connection Rate [cps]</b>"
elif test_type == u"VSAP_RPS":
layout[u"title"] = f"<b>RPS:</b> {layout[u'title']}"
- layout[u"yaxis"][u"title"] = u"<b>Connection Rate [Mrps]</b>"
+ layout[u"yaxis"][u"title"] = u"<b>Connection Rate [rps]</b>"
else:
- layout[u"title"] = f"<b>Throughput:</b> {layout[u'title']}"
+ layout[u"title"] = f"<b>Tput:</b> {layout[u'title']}"
if y_max and max(y_max) > 1:
layout[u"yaxis"][u"range"] = [0, max(y_max) + 2]
plpl = plgo.Figure(data=traces, layout=layout)
layout[u"title"] = f"<b>CPS:</b> {layout[u'title']}"
else:
layout[u"title"] = \
- f"<b>Throughput:</b> {layout[u'title']}"
+ f"<b>Tput:</b> {layout[u'title']}"
if data_y_max:
layout[u"yaxis"][u"range"] = [0, max(data_y_max) / 1e6 + 1]
plpl = plgo.Figure(data=traces, layout=layout)
layout = deepcopy(plot[u"layout"])
if layout.get(u"title", None):
layout[u"title"] = (
- f"<b>Throughput:</b> {layout[u'title'].format(core=core)}"
+ f"<b>Tput:</b> {layout[u'title'].format(core=core)}"
)
if data_y_max:
layout[u"yaxis"][u"range"] = [0, max(data_y_max) + 1]