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 05:42:43 +0000
commit307321c52d9f3f88f152cc62623383bf1e9b3cad (patch)
tree74d1e50186e7560d214905a4c35b6539e50ed8ff /resources/tools/presentation/generator_tables.py
parentb8187670ae887a12eea633d7025a3c0100afdfb2 (diff)
Report: Configure 2106.31, fix latency
Change-Id: I6f9e3cc3b79be84acb6b5619016a9aa7d4296e02 Signed-off-by: Tibor Frank <tifrank@cisco.com> (cherry picked from commit 7902281ee08456a4d90bb5829ba42da2c71a6379)
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,