diff options
author | Tibor Frank <tifrank@cisco.com> | 2021-07-14 09:55:40 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2021-07-14 07:58:15 +0000 |
commit | 616e6aad61c5e8c62bf5665e78ff36542c7759fc (patch) | |
tree | 4bbe699c0a90c67784cffb89310713ed7ceedce5 /resources | |
parent | ca78aa0bec91eef53bbe44e60cb4b82e6fe122e7 (diff) |
Report: Add rls data
Change-Id: I6a133fd2fe99ec851d2eb0c5b5cc52a5169522c3
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit a47cc2dbd97aee82deebec9bd750d661aaca6942)
Diffstat (limited to 'resources')
-rw-r--r-- | resources/tools/presentation/generator_plots.py | 6 | ||||
-rw-r--r-- | resources/tools/presentation/specifications/report/data_sets.yaml | 28 |
2 files changed, 25 insertions, 9 deletions
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 9a1eb9eafc..f03a57f279 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -645,9 +645,13 @@ def plot_perf_box_name(plot, input_data): tst_name = re.sub(REGEX_NIC, u"", col.lower().replace(u'-ndrpdr', u''). replace(u'2n1l-', u'')) + if test_type in (u"VSAP_CPS", u"VSAP_RPS"): + data_y = [y if y else None for y in df_y[col]] + else: + data_y = [y / 1e6 if y else None for y in df_y[col]] kwargs = dict( x=[str(i + 1) + u'.'] * len(df_y[col]), - y=[y / 1e6 if y else None for y in df_y[col]], + y=data_y, name=( f"{i + 1}. " f"({nr_of_samples[i]:02d} " diff --git a/resources/tools/presentation/specifications/report/data_sets.yaml b/resources/tools/presentation/specifications/report/data_sets.yaml index dac448fd9b..19c6b2b721 100644 --- a/resources/tools/presentation/specifications/report/data_sets.yaml +++ b/resources/tools/presentation/specifications/report/data_sets.yaml @@ -111,7 +111,16 @@ - 13 # rls2106.rel NDRPDR COV env 7 - 14 # rls2106.rel NDRPDR COV env 7 - 15 # rls2106.rel NDRPDR COV env 7 + - 16 # rls2106.rel NDRPDR COV env 7 - 17 # rls2106.rel NDRPDR COV env 7 + - 18 # rls2106.rel NDRPDR COV env 7 + - 19 # rls2106.rel NDRPDR COV env 7 + - 20 # rls2106.rel NDRPDR COV env 7 + - 21 # rls2106.rel NDRPDR COV env 7 + - 22 # rls2106.rel NDRPDR COV env 7 + - 24 # rls2106.rel NDRPDR COV env 7 + - 25 # rls2106.rel NDRPDR COV env 7 + - 27 # rls2106.rel NDRPDR COV env 7 dpdk-3n-skx-hist-iter: csit-dpdk-perf-report-iterative-2009-3n-skx: @@ -438,6 +447,7 @@ - 42 # rls2106.rel NDRPDR iter env 7 - 43 # rls2106.rel NDRPDR iter env 7 - 44 # rls2106.rel NDRPDR iter env 7 + - 45 # rls2106.rel NDRPDR iter env 7 - 46 # rls2106.rel NDRPDR iter env 7 vpp-2n-zn2-curr-iter-best: @@ -465,10 +475,10 @@ - 36 # rls2106.rel MRR iter env 7 vpp-2n-zn2-curr-cov: - csit-vpp-perf-report-iterative-2106-2n-zn2: - - 39 # rls2106.rel NDRPDR iter env 7 - # TODO: Replace - # csit-vpp-perf-report-coverage-2106-2n-zn2: + csit-vpp-perf-report-coverage-2106-2n-zn2: + - 2 # rls2106.rel NDRPDR COV env 7 + - 4 # rls2106.rel NDRPDR COV env 7 + - 7 # rls2106.rel NDRPDR COV env 7 dpdk-2n-zn2-hist-iter: csit-dpdk-perf-report-iterative-2101-2n-zn2: @@ -842,10 +852,12 @@ - 18 # rls2106.rel MRR iter env 7 vpp-3n-tsh-curr-cov: - csit-vpp-perf-report-iterative-2106-3n-tsh: - - 19 # rls2106.rel NDRPDR iter env 7 - # TODO: Replace - # csit-vpp-perf-report-coverage-2106-3n-tsh: + csit-vpp-perf-report-coverage-2106-3n-tsh: + - 3 # rls2106.rel NDRPDR COV env 7 + - 4 # rls2106.rel NDRPDR COV env 7 + - 6 # rls2106.rel NDRPDR COV env 7 + - 7 # rls2106.rel NDRPDR COV env 7 + - 8 # rls2106.rel NDRPDR COV env 7 dpdk-3n-tsh-hist-iter: csit-dpdk-perf-report-iterative-2009-3n-tsh: |