Report: data 94/11994/1
authorTibor Frank <tifrank@cisco.com>
Mon, 23 Apr 2018 09:47:39 +0000 (11:47 +0200)
committerTibor Frank <tifrank@cisco.com>
Mon, 23 Apr 2018 09:48:25 +0000 (11:48 +0200)
Change-Id: I63a4a6f65aa80a4edb11b1ea3ece9787a148f6f2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/tools/presentation/specification.yaml
resources/tools/presentation/utils.py

index 4c65485..d739ec2 100644 (file)
       - 167  # sel
       - 172  # sel acl only
       csit-vpp-perf-1804-all:
-      - 1
+      - 1   # sel
+      - 13  # sel
     vpp-performance-changes-mrr:
       csit-vpp-perf-check-1801:
       - 1
       - 12
       - 13
       csit-vpp-perf-check-1804:
-      - 1
+      - 1   # mrr
+      - 2   # mrr
+      - 3   # mrr
+      - 4   # mrr
     plot-throughput-speedup-analysis:
-      csit-vpp-perf-1801-all:
-      - 122  # full
-      - 126  # full
-      - 129  # full
-      - 140  # full
-      - 124  # sel
-      - 127  # sel
-      - 128  # sel
-      - 141  # sel
-      - 142  # sel
-      - 143  # sel
-      - 145  # sel
-      - 146  # sel
-      - 162  # sel
-      - 163  # sel
-      - 167  # sel
-      - 172  # sel acl only
+      csit-vpp-perf-1804-all:
+      - 1   # sel
+      - 13  # sel
 #    performance-improvements:
 #      csit-vpp-perf-1707-all:
 #      - 9
 #      - 23  # sel
 #      - 24  # sel
     vpp-perf-results:
-      csit-vpp-perf-1801-all:
-      - 122
-      - 126
-      - 129
-      - 140
+      # Replace by full
+      csit-vpp-perf-1804-all:
+      - 1   # sel
+      - 13  # sel
     vpp-func-results:
       csit-vpp-functional-1801-ubuntu1604-virl:
       - "lastSuccessfulBuild"
       csit-nsh_sfc-verify-func-1801-ubuntu1604-virl:
       - 1
     plot-vpp-throughput-latency:
-      csit-vpp-perf-1801-all:
-      - 122  # full
-      - 126  # full
-      - 129  # full
-      - 140  # full
-      - 124  # sel
-      - 127  # sel
-      - 128  # sel
-      - 141  # sel
-      - 142  # sel
-      - 143  # sel
-      - 145  # sel
-      - 146  # sel
-      - 162  # sel
-      - 163  # sel
-      - 167  # sel
-      - 172  # sel acl only
+      csit-vpp-perf-1804-all:
+      - 1   # sel
+      - 13  # sel
     plot-dpdk-throughput-latency:
       csit-dpdk-perf-1804-all:
       - 4
     - 170  # wrk
     - 172  # sel acl only
     csit-vpp-perf-1804-all:
-    - 1
+    - 1   # sel
+    - 13  # sel
     csit-vpp-perf-check-1801:
-    - 1
-    - 2
-    - 3
-    - 4
-    - 5
-    - 6
-    - 7
-    - 8
-    - 9
-    - 11
-    - 12
-    - 13
+    - 1   # mrr
+    - 2   # mrr
+    - 3   # mrr
+    - 4   # mrr
+    - 5   # mrr
+    - 6   # mrr
+    - 7   # mrr
+    - 8   # mrr
+    - 9   # mrr
+    - 11  # mrr
+    - 12  # mrr
+    - 13  # mrr
     csit-vpp-perf-check-1804:
-    - 1
+    - 1   # mrr
+    - 2   # mrr
+    - 3   # mrr
+    - 4   # mrr
     csit-ligato-perf-1710-all:
     - 5
     - 7
index 2fbf70c..0e72a06 100644 (file)
@@ -36,7 +36,10 @@ def mean(items):
     :rtype: float
     """
 
-    return float(sum(items)) / len(items)
+    if len(items):
+        return float(sum(items)) / len(items)
+    else:
+        return None
 
 
 def stdev(items):