aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/presentation
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
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')
-rw-r--r--resources/tools/presentation/generator_tables.py11
-rwxr-xr-xresources/tools/presentation/run_report.sh2
-rw-r--r--resources/tools/presentation/specifications/report/environment.yaml6
-rw-r--r--resources/tools/presentation/sphinx_conf/report/conf.py2
4 files changed, 14 insertions, 7 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,
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'