From a6682004ab42c3d13d07c41c56f3327d5814b6ac Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 30 Oct 2017 17:19:32 +0100 Subject: Report: plots Change-Id: Ife20611fc3eab19b4b6bde405907fcad420f7cf8 Signed-off-by: Tibor Frank (cherry picked from commit f12e62b5d43bdc3765b167a17887e2e441e902eb) --- resources/tools/presentation/generator_tables.py | 2 ++ resources/tools/presentation/specification.yaml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'resources') diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index b98f32ca14..59059df08e 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -134,6 +134,8 @@ def table_performance_improvements(table, input_data): line_lst.append(item["data"]) elif isinstance(item["data"], float): line_lst.append("{:.1f}".format(item["data"])) + elif item["data"] is None: + line_lst.append("") file_handler.write(",".join(line_lst) + "\n") logging.info(" Generating the table {0} ...". diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index cdeba2ee95..ea0ce5a2af 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -929,7 +929,7 @@ # VPP L2 sel2 - type: "plot" - title: "VPP Performance 64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-ndrdisc" + title: "VPP Performance 64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" algorithm: "plot_performance_box" output-file-type: ".html" output-file: "{DIR[STATIC,VPP]}/64B-1t1c-l2-sel2-ndrdisc" @@ -951,7 +951,7 @@ boxpoints: "outliers" whiskerwidth: 0 layout: - title: "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-ndrdisc" + title: "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" xaxis: autorange: True autotick: False @@ -994,7 +994,7 @@ - type: "plot" - title: "VPP Performance 64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-ndrdisc" + title: "VPP Performance 64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" algorithm: "plot_performance_box" output-file-type: ".html" output-file: "{DIR[STATIC,VPP]}/64B-2t2c-l2-sel2-ndrdisc" @@ -1016,7 +1016,7 @@ boxpoints: "outliers" whiskerwidth: 0 layout: - title: "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-ndrdisc" + title: "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-ndrdisc" xaxis: autorange: True autotick: False @@ -1059,7 +1059,7 @@ - type: "plot" - title: "VPP Performance 64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-pdrdisc" + title: "VPP Performance 64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" algorithm: "plot_performance_box" output-file-type: ".html" output-file: "{DIR[STATIC,VPP]}/64B-1t1c-l2-sel2-pdrdisc" @@ -1081,7 +1081,7 @@ boxpoints: "outliers" whiskerwidth: 0 layout: - title: "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-pdrdisc" + title: "64B-1t1c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" xaxis: autorange: True autotick: False @@ -1124,7 +1124,7 @@ - type: "plot" - title: "VPP Performance 64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-pdrdisc" + title: "VPP Performance 64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" algorithm: "plot_performance_box" output-file-type: ".html" output-file: "{DIR[STATIC,VPP]}/64B-2t2c-l2-sel2-pdrdisc" @@ -1146,7 +1146,7 @@ boxpoints: "outliers" whiskerwidth: 0 layout: - title: "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-acl-pdrdisc" + title: "64B-2t2c-(eth|dot1q|dot1ad)-(l2xcbase|l2bdbasemaclrn)-pdrdisc" xaxis: autorange: True autotick: False -- cgit 1.2.3-korg