aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-04-26 10:08:42 +0200
committerTibor Frank <tifrank@cisco.com>2018-04-26 08:13:08 +0000
commit7a4d6968edc4a33d3b7862c696ad12e36fc1e4bc (patch)
treefd51c11d1674d392e1368fe75c4ecec6f800c7e6
parent8acf68f471a251ed4e94f49ac8e3db66f93dedc8 (diff)
Report: Add historical data to performance changes table
Change-Id: I9d6ff6021db4356c0b06555c79841b9ed602f671 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit e7fe3850f2777db5c5b6d1fbd0877ebd7cac0f18)
-rw-r--r--resources/tools/presentation/generator_tables.py2
-rw-r--r--resources/tools/presentation/specification.yaml4
2 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 3c4900b2e2..951be8eea5 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -414,6 +414,8 @@ def table_performance_comparison(table, input_data):
for job, builds in item["data"].items():
for build in builds:
for tst_name, tst_data in data[job][str(build)].iteritems():
+ if tbl_dict.get(tst_name, None) is None:
+ continue
if tbl_dict[tst_name].get("history", None) is None:
tbl_dict[tst_name]["history"] = OrderedDict()
if tbl_dict[tst_name]["history"].get(item["title"],
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index c327e4002b..cdc9dc149b 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -244,7 +244,7 @@
csit-dpdk-perf-1804-all:
- 15
hc-func-results:
- csit-hc2vpp-verify-func-1801-ubuntu1604:
+ csit-hc2vpp-verify-func-1804-ubuntu1604:
- "lastSuccessfulBuild"
nsh-func-results:
csit-nsh_sfc-verify-func-1804-ubuntu1604-virl:
@@ -647,7 +647,7 @@
- "lastSuccessfulBuild"
csit-nsh_sfc-verify-func-1804-ubuntu1604-virl:
- "lastSuccessfulBuild"
- csit-hc2vpp-verify-func-1801-ubuntu1604:
+ csit-hc2vpp-verify-func-1804-ubuntu1604:
- "lastSuccessfulBuild"
-