X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_plots.py;h=88af4a46657830040f2c16a7c01d80930037c027;hp=650a51c5a7300f6a422c725ee609bdd33ab66322;hb=879b31f02fb4df52016d7465e21377121dfbb515;hpb=df3b53935c5db2e53cf8e72ca2ef5be995071e69 diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 650a51c5a7..88af4a4665 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -62,7 +62,7 @@ COLORS = ( REGEX_NIC = re.compile(r'(\d*ge\dp\d\D*\d*[a-z]*)-') # This value depends on latency stream rate (9001 pps) and duration (5s). -PERCENTILE_MAX = 99.9999 +PERCENTILE_MAX = 99.9995 def generate_plots(spec, data): @@ -398,9 +398,10 @@ def plot_hdrh_lat_by_percentile_x_log(plot, input_data): ) layout[u"title"][u"text"] = f"Latency: {name}" - layout[u"xaxis"][u"range"] = [ - 0, round(log(100.0 / (100.0 - PERCENTILE_MAX), 10)) - ] + layout[u"xaxis"][u"range"] = [0, 5] + # layout[u"xaxis"][u"range"] = [ + # 0, round(log(100.0 / (100.0 - PERCENTILE_MAX), 10)) + # ] fig.update_layout(layout) # Create plot