aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2020-04-02 06:50:11 +0200
committerTibor Frank <tifrank@cisco.com>2020-04-02 06:50:11 +0200
commitfafa2a32fec6584fb24e22ba5db4e4cda3acdfc0 (patch)
tree13673fd0c9e1c570487d35b447cdc2aa739f5fa1 /resources/tools/presentation
parent925c5bfcffb2bc6b833a8e64b7f3a06bbca52197 (diff)
Report: Comparison tables
Change-Id: Iafff8f88e1d54ede712d8fc3b4afa88172f599ab Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation')
-rw-r--r--resources/tools/presentation/generator_tables.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index e9aa27280e..59affa3c77 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -660,11 +660,11 @@ def table_perf_comparison(table, input_data):
f"{item[u'title']} Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from "
f"a series of runs of the listed tests executed against "
- f"rls{item[u'title']}.\n"
+ f"{item[u'title']}.\n"
f"{item[u'title']} Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{item[u'title']}.\n"
+ f"against {item[u'title']}.\n"
)
header.extend(
[
@@ -687,22 +687,22 @@ def table_perf_comparison(table, input_data):
f"Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from a "
f"series of runs of the listed tests executed against "
- f"rls{table[u'reference'][u'title']}.\n"
+ f"{table[u'reference'][u'title']}.\n"
f"{table[u'reference'][u'title']} "
f"Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{table[u'reference'][u'title']}.\n"
+ f"against {table[u'reference'][u'title']}.\n"
f"{table[u'compare'][u'title']} "
f"Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from a "
f"series of runs of the listed tests executed against "
- f"rls{table[u'compare'][u'title']}.\n"
+ f"{table[u'compare'][u'title']}.\n"
f"{table[u'compare'][u'title']} "
f"Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{table[u'compare'][u'title']}.\n"
+ f"against {table[u'compare'][u'title']}.\n"
f"Diff({table[u'reference'][u'title']},"
f"{table[u'compare'][u'title']}): "
f"Percentage change calculated for mean values.\n"
@@ -1017,11 +1017,11 @@ def table_perf_comparison_nic(table, input_data):
f"{item[u'title']} Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from "
f"a series of runs of the listed tests executed against "
- f"rls{item[u'title']}.\n"
+ f"{item[u'title']}.\n"
f"{item[u'title']} Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{item[u'title']}.\n"
+ f"against {item[u'title']}.\n"
)
header.extend(
[
@@ -1044,22 +1044,22 @@ def table_perf_comparison_nic(table, input_data):
f"Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from a "
f"series of runs of the listed tests executed against "
- f"rls{table[u'reference'][u'title']}.\n"
+ f"{table[u'reference'][u'title']}.\n"
f"{table[u'reference'][u'title']} "
f"Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{table[u'reference'][u'title']}.\n"
+ f"against {table[u'reference'][u'title']}.\n"
f"{table[u'compare'][u'title']} "
f"Avg({table[u'include-tests']}): "
f"Mean value of {table[u'include-tests']} [Mpps] computed from a "
f"series of runs of the listed tests executed against "
- f"rls{table[u'compare'][u'title']}.\n"
+ f"{table[u'compare'][u'title']}.\n"
f"{table[u'compare'][u'title']} "
f"Stdev({table[u'include-tests']}): "
f"Standard deviation value of {table[u'include-tests']} [Mpps] "
f"computed from a series of runs of the listed tests executed "
- f"against rls{table[u'compare'][u'title']}.\n"
+ f"against {table[u'compare'][u'title']}.\n"
f"Diff({table[u'reference'][u'title']},"
f"{table[u'compare'][u'title']}): "
f"Percentage change calculated for mean values.\n"
@@ -1493,7 +1493,7 @@ def table_nics_comparison(table, input_data):
f"{table[u'output-file']}.txt",
delimiter=u";")
- with open(table[u'output-file'], u'a') as txt_file:
+ with open(f"{table[u'output-file']}.txt", u'a') as txt_file:
txt_file.write(legend)
# Generate html table: