diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-09-03 08:45:31 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-09-03 08:45:31 +0200 |
commit | 3e5dbfab796da168865ba787382224b1b04b83a4 (patch) | |
tree | 99d04c2d192d19708a90b42964c808b677189598 /resources/tools/presentation/generator_tables.py | |
parent | ff3201774cf904bad6c64adf11f1fae92d5f8588 (diff) |
CSIT-1590: Performance comparison analysis
Change-Id: I09d502fcd7b286e41b141e43933bcf09262a8749
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_tables.py')
-rw-r--r-- | resources/tools/presentation/generator_tables.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index 734477088f..14a9d81e77 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -657,10 +657,12 @@ def table_performance_comparison_nic(table, input_data): item.append(round(stdev(data_t) / 1000000, 2)) else: item.extend([None, None]) - if item[-4] is not None and item[-2] is not None and item[-4] != 0: + if "dot1q" in tbl_dict[tst_name]["name"]: + item.append("Changed methodology") + elif item[-4] is not None and item[-2] is not None and item[-4] != 0: item.append(int(relative_change(float(item[-4]), float(item[-2])))) else: - item.append(None) + item.append("n/a") if len(item) == len(header): tbl_lst.append(item) |