aboutsummaryrefslogtreecommitdiffstats
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 06:29:53 +0200
commit00d8063d0ebc8587c6bf52af824b7ae5e98baf1e (patch)
tree2a82056137e719d290c58d2657aede224cfcad4a
parent4f7ce5c8b8362009da3dcda9fd8e077be821adc7 (diff)
Report: Fix typo in specification.
Change-Id: Ie61f8c1eef8828ce30f82e33ef0c40b8f77de26b Signed-off-by: Tibor Frank <tifrank@cisco.com>
-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 a72551f15a..977ba8d669 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1547,6 +1547,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"