X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=351250a4d24d0554758a886ea39f92ac607a1835;hb=8e1dfc4ab336302999f91ea0386093b0bc879974;hp=fa5a963600a48ac1503fdfcb71a0534c20a03184;hpb=f615617a46a21107a9a827a13035997e91bf6d3f;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index fa5a963600..351250a4d2 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -17,6 +17,7 @@ import logging import csv +import math import re from collections import OrderedDict @@ -1675,7 +1676,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 +1810,7 @@ def table_comparison(table, input_data): ) except ZeroDivisionError: break - if delta is None: + if delta is None or math.isnan(delta): break new_row.append({ u"mean": delta * 1e6,