aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation/generator_tables.py
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-08-03 07:40:23 +0200
committerTibor Frank <tifrank@cisco.com>2021-08-03 07:40:23 +0200
commit7902281ee08456a4d90bb5829ba42da2c71a6379 (patch)
tree4beb70a74313cac4bfdace2ac3b12c867f7bd9f9 /resources/tools/presentation/generator_tables.py
parent68f32506b32feddae4f9674a7a32cd3d0ea61fb7 (diff)
Report: Configure 2106.31, fix latency
Change-Id: I6f9e3cc3b79be84acb6b5619016a9aa7d4296e02 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.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py
index fa5a963600..fe0eaaa22e 100644
--- a/resources/tools/presentation/generator_tables.py
+++ b/resources/tools/presentation/generator_tables.py
@@ -1675,7 +1675,14 @@ def table_comparison(table, input_data):
if replacement:
rpl_data = input_data.filter_data(
table,
- params=[u"throughput", u"result", u"name", u"parent", u"tags"],
+ params=[
+ u"throughput",
+ u"result",
+ u"latency",
+ u"name",
+ u"parent",
+ u"tags"
+ ],
data=replacement,
continue_on_error=True
)
@@ -1802,7 +1809,7 @@ def table_comparison(table, input_data):
)
except ZeroDivisionError:
break
- if delta is None:
+ if delta in (None, float(u"nan"), u"nan", u"NaN"):
break
new_row.append({
u"mean": delta * 1e6,