From ef5c30213bb28824a55f4ebbcade6410ee8d2461 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Thu, 14 Jan 2021 07:38:16 +0100 Subject: Report: Add data Change-Id: I3ac0e892ef3f2b0a23b42465565d28f5d5027dae Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_plots.py | 13 ++++--------- resources/tools/presentation/specification.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+), 9 deletions(-) (limited to 'resources/tools/presentation') diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 679fc3d8e1..05f525c96a 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -173,14 +173,9 @@ def plot_hdrh_lat_by_percentile(plot, input_data): for color, graph in enumerate(graphs): for idx, direction in enumerate((u"direction1", u"direction2")): - xaxis = [0.0, ] - yaxis = [0.0, ] - hovertext = [ - f"{desc[graph]}
" - f"Direction: {(u'W-E', u'E-W')[idx % 2]}
" - f"Percentile: 0.0%
" - f"Latency: 0.0uSec" - ] + xaxis = list() + yaxis = list() + hovertext = list() try: decoded = hdrh.histogram.HdrHistogram.decode( test[u"latency"][graph][direction][u"hdrh"] @@ -193,7 +188,7 @@ def plot_hdrh_lat_by_percentile(plot, input_data): 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) diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index 0cbbfcd66f..fac3b0576a 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -710,6 +710,7 @@ csit-vpp-perf-report-iterative-2101-3n-skx: - 14 # rls2009 NDRPDR iter env 6 - 15 # rls2009 NDRPDR iter env 6 + - 16 # rls2009 NDRPDR iter env 6 vpp-performance-changes-3n-skx-cmp: csit-vpp-perf-report-iterative-2101-3n-skx: - 5 # rls2101.rc1 NDRPDR iter env 6 @@ -757,6 +758,7 @@ - 22 # rls2009 NDRPDR iter env 6 - 23 # rls2009 NDRPDR iter env 6 - 24 # rls2009 NDRPDR iter env 6 + - 25 # rls2009 NDRPDR iter env 6 vpp-performance-changes-2n-skx-cmp: csit-vpp-perf-report-iterative-2101-2n-skx: - 5 # rls2101.rc1 NDRPDR iter env 6 @@ -808,7 +810,9 @@ csit-vpp-perf-report-iterative-2101-2n-clx: - 16 # rls2009 NDRPDR iter env 6 - 17 # rls2009 NDRPDR iter env 6 + - 18 # rls2009 NDRPDR iter env 6 - 19 # rls2009 NDRPDR iter env 6 + - 21 # rls2009 NDRPDR iter env 6 vpp-performance-changes-2n-clx-cmp: csit-vpp-perf-report-iterative-2101-2n-clx: - 4 # rls2101.rc1 NDRPDR iter env 6 @@ -834,6 +838,7 @@ - 9 # rls2009 NDRPDR iter env 6 - 10 # rls2009 NDRPDR iter env 6 - 11 # rls2009 NDRPDR iter env 6 + - 12 # rls2009 NDRPDR iter env 6 vpp-performance-changes-2n-zn2-cmp: csit-vpp-perf-report-iterative-2101-2n-zn2: - 4 # rls2101.rc1 NDRPDR iter env 6 @@ -2510,6 +2515,7 @@ - 12 # rls2009 MRR iter env 6 - 14 # rls2009 NDRPDR iter env 6 - 15 # rls2009 NDRPDR iter env 6 + - 16 # rls2009 NDRPDR iter env 6 # csit-vpp-perf-report-coverage-2101-3n-skx: @@ -2585,6 +2591,7 @@ - 22 # rls2009 NDRPDR iter env 6 - 23 # rls2009 NDRPDR iter env 6 - 24 # rls2009 NDRPDR iter env 6 + - 25 # rls2009 NDRPDR iter env 6 # csit-vpp-perf-report-coverage-2101-2n-skx: @@ -2659,7 +2666,9 @@ - 15 # rls2009 MRR iter env 6 - 16 # rls2009 NDRPDR iter env 6 - 17 # rls2009 NDRPDR iter env 6 + - 18 # rls2009 NDRPDR iter env 6 - 19 # rls2009 NDRPDR iter env 6 + - 21 # rls2009 NDRPDR iter env 6 # csit-vpp-perf-report-coverage-2101-2n-clx: @@ -2680,6 +2689,7 @@ - 9 # rls2009 NDRPDR iter env 6 - 10 # rls2009 NDRPDR iter env 6 - 11 # rls2009 NDRPDR iter env 6 + - 12 # rls2009 NDRPDR iter env 6 csit-vpp-perf-report-iterative-2009-3n-tsh: - 8 # rls2005 NDRPDR iter env 5 -- cgit 1.2.3-korg