diff options
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 19 | ||||
-rw-r--r-- | resources/tools/presentation/specification.yaml | 21 |
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, ... - |