diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-01-16 10:53:35 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-01-16 10:53:35 +0100 |
commit | b41156890e8871e8f9cd1f57cca7a6fe9ef3f3fa (patch) | |
tree | ca4a043be3369c6e9d39a5c3bbdd05682a75571a /resources/tools/presentation | |
parent | be32ae19e41a86df336d775e314462c6d0bf965c (diff) |
Report: Latency by Percentile Distribution
- Set X-axis
Change-Id: Ica300c7b1352c824bf51ac26e7485c9295ac60dc
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 4 | ||||
-rw-r--r-- | resources/tools/presentation/specification.yaml | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 8af9a945d1..d2cc9c0c5e 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -137,14 +137,14 @@ def plot_lat_hdrh_percentile(plot, input_data): hovertext.append( f"Test: {name}<br>" f"Direction: {directions[idx]}<br>" - f"Percentile: {percentile:.5f}<br>%" + f"Percentile: {percentile:.5f}%<br>" f"Latency: {item.value_iterated_to}uSec" ) fig.add_trace( plgo.Scatter( x=xaxis, y=yaxis, - name=name, + name=f"{name} ({directions[idx]})", mode=u"lines", hovertext=hovertext, hoverinfo=u"text" diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index 1ea3c55427..a642c75bf9 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -1712,8 +1712,8 @@ showline: True showticklabels: True tickcolor: "rgb(220, 220, 220)" - tickvals: [1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8] - ticktext: [0, 90.0, 99.0, 99.9, 99.99, 99.999, 99.9999, 99.99999, 99.999999] + tickvals: [1, 2, 1e1, 20, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8] + ticktext: [0, 50, 90, 95, 99, 99.9, 99.99, 99.999, 99.9999, 99.99999, 99.999999] tickfont: size: 16 yaxis: @@ -1739,7 +1739,7 @@ xanchor: "left" yanchor: "top" x: 0 - y: -0.1 + y: -0.15 bgcolor: "rgba(255, 255, 255, 0)" bordercolor: "rgba(255, 255, 255, 0)" width: 700 |