From 7902281ee08456a4d90bb5829ba42da2c71a6379 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 3 Aug 2021 07:40:23 +0200 Subject: Report: Configure 2106.31, fix latency Change-Id: I6f9e3cc3b79be84acb6b5619016a9aa7d4296e02 Signed-off-by: Tibor Frank --- resources/tools/presentation/generator_tables.py | 11 +++++++++-- resources/tools/presentation/run_report.sh | 2 +- .../tools/presentation/specifications/report/environment.yaml | 6 +++--- resources/tools/presentation/sphinx_conf/report/conf.py | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) (limited to 'resources/tools/presentation') 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, diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh index 81188e73ff..7c0776d7bd 100755 --- a/resources/tools/presentation/run_report.sh +++ b/resources/tools/presentation/run_report.sh @@ -32,7 +32,7 @@ export PYTHONPATH=`pwd`:`pwd`/../../../ python pal.py \ --specification specifications/report \ --release ${RELEASE} \ - --week "30" \ + --week "31" \ --logging INFO \ --force diff --git a/resources/tools/presentation/specifications/report/environment.yaml b/resources/tools/presentation/specifications/report/environment.yaml index a1f4f18d33..c08ec2c41d 100644 --- a/resources/tools/presentation/specifications/report/environment.yaml +++ b/resources/tools/presentation/specifications/report/environment.yaml @@ -199,7 +199,7 @@ file-format: ".gz" enabled: False - archive-inputs: True + archive-inputs: False mapping-file: "" @@ -270,5 +270,5 @@ format: html: - full - pdf: - - minimal +# pdf: +# - minimal diff --git a/resources/tools/presentation/sphinx_conf/report/conf.py b/resources/tools/presentation/sphinx_conf/report/conf.py index 3d0988a8e6..4ad4d94855 100644 --- a/resources/tools/presentation/sphinx_conf/report/conf.py +++ b/resources/tools/presentation/sphinx_conf/report/conf.py @@ -46,7 +46,7 @@ source_suffix = [u'.rst', u'.md'] master_doc = u'index' # General information about the project. -report_week = u'30' +report_week = u'31' project = u'FD.io CSIT-2106.{week}'.format(week=report_week) copyright = u'2021, FD.io' author = u'FD.io CSIT' -- cgit 1.2.3-korg