aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2017-11-07 14:34:25 +0100
committerTibor Frank <tifrank@cisco.com>2017-11-07 15:29:21 +0100
commit2b8547bc50fd06ea936f096794b8c2a5e09c5f8b (patch)
treee11737b2b7a399761eb82af77005a854e29df0d8 /resources
parent140cc148a75016164875804e6eb82d878f6b0ba9 (diff)
PAL: Perf improvements - more data sources
Change-Id: I39c8c896f3fa3a7b6a87364e4b700810a9b5d9a6 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/tools/presentation/generator_tables.py19
-rw-r--r--resources/tools/presentation/specification.yaml21
2 files changed, 26 insertions, 14 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index 920c30a4a8..afd8390c91 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -237,16 +237,17 @@ def table_performance_improvements(table, input_data):
val = tmpl_item[int(args[0])]
tbl_item.append({"data": val})
elif cmd == "data":
- job = args[0]
- operation = args[1]
+ jobs = args[0:-1]
+ operation = args[-1]
data_lst = list()
- for build in data[job]:
- try:
- data_lst.append(float(build[tmpl_item[0]]["throughput"]
- ["value"]))
- except (KeyError, TypeError):
- # No data, ignore
- continue
+ for job in jobs:
+ for build in data[job]:
+ try:
+ data_lst.append(float(build[tmpl_item[0]]
+ ["throughput"]["value"]))
+ except (KeyError, TypeError):
+ # No data, ignore
+ continue
if data_lst:
tbl_item.append({"data": (eval(operation)(data_lst)) /
1000000})
diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml
index cc8de35825..195e19e826 100644
--- a/resources/tools/presentation/specification.yaml
+++ b/resources/tools/presentation/specification.yaml
@@ -222,10 +222,10 @@
data: "data csit-vpp-perf-1707-all mean"
-
title: "17.10 mean [Mpps]"
- data: "data csit-vpp-perf-1710-all mean"
+ data: "data csit-vpp-perf-1710-all csit-ligato-perf-1710-all mean"
-
title: "17.10 stdev [Mpps]"
- data: "data csit-vpp-perf-1710-all stdev"
+ data: "data csit-vpp-perf-1710-all csit-ligato-perf-1710-all stdev"
-
title: "17.07 to 17.10 change [%]"
data: "operation relative_change 5 6"
@@ -253,6 +253,17 @@
- 18
- 19
- 20
+ csit-ligato-perf-1710-all:
+ - 5
+ - 7
+ - 8
+ - 9
+ - 10
+ - 11
+ - 12
+ - 13
+ - 16
+ - 17
filter: "template"
parameters:
- "throughput"
@@ -513,7 +524,7 @@
- "doc"
- "level"
- "parent"
- data-start-level: 2 # 0, 1, 2, ...
+ data-start-level: 3 # 0, 1, 2, ...
chapters-start-level: 2 # 0, 1, 2, ...
-
@@ -534,7 +545,7 @@
- "doc"
- "level"
- "parent"
- data-start-level: 2 # 0, 1, 2, ...
+ data-start-level: 3 # 0, 1, 2, ...
chapters-start-level: 2 # 0, 1, 2, ...
-
@@ -555,7 +566,7 @@
- "doc"
- "level"
- "parent"
- data-start-level: 2 # 0, 1, 2, ...
+ data-start-level: 3 # 0, 1, 2, ...
chapters-start-level: 2 # 0, 1, 2, ...
-