u"plot_tsa_name": plot_tsa_name,
u"plot_http_server_perf_box": plot_http_server_perf_box,
u"plot_nf_heatmap": plot_nf_heatmap,
- u"plot_hdrh_lat_by_percentile": plot_hdrh_lat_by_percentile
+ u"plot_hdrh_lat_by_percentile": plot_hdrh_lat_by_percentile,
+ u"plot_hdrh_lat_by_percentile_x_log": plot_hdrh_lat_by_percentile_x_log
}
logging.info(u"Generating the plots ...")
for color, graph in enumerate(graphs):
for idx, direction in enumerate((u"direction1", u"direction2")):
- xaxis = [0.0, ]
- yaxis = [0.0, ]
- hovertext = [
- f"<b>{desc[graph]}</b><br>"
- f"Direction: {(u'W-E', u'E-W')[idx % 2]}<br>"
- f"Percentile: 0.0%<br>"
- f"Latency: 0.0uSec"
- ]
+ xaxis = list()
+ yaxis = list()
+ hovertext = list()
try:
decoded = hdrh.histogram.HdrHistogram.decode(
test[u"latency"][graph][direction][u"hdrh"]
for item in decoded.get_recorded_iterator():
percentile = item.percentile_level_iterated_to
- if percentile > 99.9:
+ if percentile > 99.9999999:
continue
xaxis.append(percentile)
yaxis.append(item.value_iterated_to)