aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-05-04 06:29:53 +0200
committerTibor Frank <tifrank@cisco.com>2020-05-04 04:33:07 +0000
commit953d1310d2df574888cef2bd282843d186640628 (patch)
treec7a1db7db114cb79e898bce56c7ac73d7b00185b /resources
parent552b72bd32a8c8a76dd09254dcf2b21fc6a0c18c (diff)
Report: Fix typo in specification.
Change-Id: Ie61f8c1eef8828ce30f82e33ef0c40b8f77de26b Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 00d8063d0ebc8587c6bf52af824b7ae5e98baf1e)
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py4
-rw-r--r--resources/tools/presentation/specification.yaml2
2 files changed, 5 insertions, 1 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index b538790f40..021744dd37 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1539,6 +1539,10 @@ def table_comparison(table, input_data):
u"stdev": tst_data[u"stdev"]
}
+ if not tbl_dict:
+ logging.warning(f"No data for table {table.get(u'title', u'')}!")
+ return
+
tbl_lst = list()
for tst_data in tbl_dict.values():
row = [tst_data[u"name"], ]
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index af224cf33f..da97b746d2 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -4443,7 +4443,7 @@
algorithm: "table_comparison"
output-file: "{DIR[STATIC,VPP]}/performance-changes-3n-hsw-2t2c-mrr"
include-tests: "MRR" # "PDR" | "NDR" | "MRR"
- filter: "'2t2c' and 'MRR' and 'NIC_Intel-XL710' and not 'NF_DENSITY'"
+ filter: "'2T2C' and 'MRR' and 'NIC_Intel-XL710' and not 'NF_DENSITY'"
columns:
- title: "1904"
data-set: "vpp-performance-changes-3n-hsw-mrr-h1"