From: Vratko Polak Date: Wed, 18 Sep 2019 09:42:08 +0000 (+0200) Subject: PAL: Fix unit for packets lost X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=c7c31d5a09cd56ac5faab8d6f690aea00fa9e051 PAL: Fix unit for packets lost + update the static content Change-Id: I8c4852195e09d7b00555ebb4a7378743c3df45f2 Signed-off-by: Vratko Polak --- diff --git a/docs/report/vpp_performance_tests/reconf_tests/vnf_service_chains_reconf.rst b/docs/report/vpp_performance_tests/reconf_tests/vnf_service_chains_reconf.rst index f17d56743e..268d40c8e3 100644 --- a/docs/report/vpp_performance_tests/reconf_tests/vnf_service_chains_reconf.rst +++ b/docs/report/vpp_performance_tests/reconf_tests/vnf_service_chains_reconf.rst @@ -63,8 +63,8 @@ Additional information about graph data: #. **Y-axis Labels**: measured Implied time loss [s] values. #. **Graph Legend**: lists X-axis indices with associated CSIT test - suites executed to generate graphed test results and the average value and - standard deviation of measured packet loss in millions of packets. + suites executed to generate graphed test results and the average value + of measured packet loss. #. **Hover Information**: lists minimum, first quartile, median, third quartile, and maximum. If either type of outlier is present the diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py index 3e5da63c9e..1179a0a240 100644 --- a/resources/tools/presentation/generator_plots.py +++ b/resources/tools/presentation/generator_plots.py @@ -117,14 +117,13 @@ def plot_service_density_reconf_box_name(plot, input_data): col.lower().replace('-ndrpdr', ''). replace('2n1l-', '')) tst_name = "-".join(tst_name.split("-")[3:-2]) - name = "{nr}. ({samples:02d} run{plural}, avg pkt loss: {loss:.1f}, " \ - "stdev: {stdev:.2f}) {name}".format( + name = "{nr}. ({samples:02d} run{plural}, packets lost average: " \ + "{loss:.1f}, {name}".format( nr=(i + 1), samples=nr_of_samples[i], plural='s' if nr_of_samples[i] > 1 else '', name=tst_name, - loss=mean(loss[col]) / 1000000, - stdev=stdev(loss[col]) / 1000000) + loss=mean(loss[col])) traces.append(plgo.Box(x=[str(i + 1) + '.'] * len(df[col]), y=[y if y else None for y in df[col]],