Report: Current vs. Previous 21/26521/2
authorTibor Frank <tifrank@cisco.com>
Wed, 15 Apr 2020 12:10:09 +0000 (14:10 +0200)
committerTibor Frank <tifrank@cisco.com>
Wed, 15 Apr 2020 12:11:45 +0000 (14:11 +0200)
Change-Id: Ic6cdabf65846a0d7d1e38025a1a7459947aed385
Signed-off-by: Tibor Frank <tifrank@cisco.com>
docs/report/vpp_performance_tests/comparisons/current_vs_previous_release.rst
resources/tools/presentation/generator_tables.py

index d9ce804..d329e09 100644 (file)
@@ -38,33 +38,37 @@ results repeatability vary between the test cases.
 2n-skx
 ~~~~~~
 
-NDR Root Cause Analysis
+NDR Comparison with RCA
 ```````````````````````
 
+Comparison tables in HTML, ASCII and CSV formats:
+
   - `HTML 2t1c NDR RCA <performance-rca-2n-skx-2t1c-ndr.html>`_
   - `ASCII 2t1c NDR RCA <../../_static/vpp/performance-rca-2n-skx-2t1c-ndr.txt>`_
   - `CSV 2t1c NDR RCA <../../_static/vpp/performance-rca-2n-skx-2t1c-ndr-csv.csv>`_
 
-PDR Root Cause Analysis
+PDR Comparison with RCA
 ```````````````````````
 
+Comparison tables in HTML, ASCII and CSV formats:
+
   - `HTML 2t1c PDR RCA <performance-rca-2n-skx-2t1c-pdr.html>`_
   - `ASCII 2t1c PDR RCA <../../_static/vpp/performance-rca-2n-skx-2t1c-pdr.txt>`_
   - `CSV 2t1c PDR RCA <../../_static/vpp/performance-rca-2n-skx-2t1c-pdr-csv.csv>`_
 
-..
-    NDR Comparison
-    ``````````````
+NDR Comparison
+``````````````
 
-    Comparison tables in HTML, ASCII and CSV formats:
+Comparison tables in HTML, ASCII and CSV formats:
 
-      - `HTML 2t1c NDR comparison <performance-changes-2n-skx-2t1c-ndr.html>`_
-      - `HTML 4t2c NDR comparison <performance-changes-2n-skx-4t2c-ndr.html>`_
-      - `ASCII 2t1c NDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-ndr.txt>`_
-      - `ASCII 4t2c NDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-ndr.txt>`_
-      - `CSV 2t1c NDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-ndr.csv>`_
-      - `CSV 4t2c NDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-ndr.csv>`_
+  - `HTML 2t1c NDR comparison <performance-changes-2n-skx-2t1c-ndr.html>`_
+  - `HTML 4t2c NDR comparison <performance-changes-2n-skx-4t2c-ndr.html>`_
+  - `ASCII 2t1c NDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-ndr.txt>`_
+  - `ASCII 4t2c NDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-ndr.txt>`_
+  - `CSV 2t1c NDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-ndr.csv>`_
+  - `CSV 4t2c NDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-ndr.csv>`_
 
+..
       - `HTML 2t1c NFV Service Density NDR comparison <performance-changes-nfv-2n-skx-2t1c-ndr.html>`_
       - `HTML 4t2c NFV Service Density NDR comparison <performance-changes-nfv-2n-skx-4t2c-ndr.html>`_
       - `HTML 8t4c NFV Service Density NDR comparison <performance-changes-nfv-2n-skx-8t4c-ndr.html>`_
@@ -75,19 +79,19 @@ PDR Root Cause Analysis
       - `CSV 4t2c NFV Service Density NDR comparison <../../_static/vpp/performance-changes-nfv-2n-skx-4t2c-ndr.csv>`_
       - `CSV 8t4c NFV Service Density NDR comparison <../../_static/vpp/performance-changes-nfv-2n-skx-8t4c-ndr.csv>`_
 
-    PDR Comparison
-    ``````````````
-
-    Comparison tables in HTML, ASCII and CSV formats:
+PDR Comparison
+``````````````
 
-      - `HTML 2t1c PDR comparison <performance-changes-2n-skx-2t1c-pdr.html>`_
-      - `HTML 4t2c PDR comparison <performance-changes-2n-skx-4t2c-pdr.html>`_
-      - `ASCII 2t1c PDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-pdr.txt>`_
-      - `ASCII 4t2c PDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-pdr.txt>`_
-      - `CSV 2t1c PDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-pdr.csv>`_
-      - `CSV 4t2c PDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-pdr.csv>`_
+Comparison tables in HTML, ASCII and CSV formats:
 
+  - `HTML 2t1c PDR comparison <performance-changes-2n-skx-2t1c-pdr.html>`_
+  - `HTML 4t2c PDR comparison <performance-changes-2n-skx-4t2c-pdr.html>`_
+  - `ASCII 2t1c PDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-pdr.txt>`_
+  - `ASCII 4t2c PDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-pdr.txt>`_
+  - `CSV 2t1c PDR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-pdr.csv>`_
+  - `CSV 4t2c PDR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-pdr.csv>`_
 
+..
       - `HTML 2t1c NFV Service Density PDR comparison <performance-changes-nfv-2n-skx-2t1c-pdr.html>`_
       - `HTML 4t2c NFV Service Density PDR comparison <performance-changes-nfv-2n-skx-4t2c-pdr.html>`_
       - `HTML 8t4c NFV Service Density PDR comparison <performance-changes-nfv-2n-skx-8t4c-pdr.html>`_
@@ -98,21 +102,22 @@ PDR Root Cause Analysis
       - `CSV 4t2c NFV Service Density PDR comparison <../../_static/vpp/performance-changes-nfv-2n-skx-4t2c-pdr.csv>`_
       - `CSV 8t4c NFV Service Density PDR comparison <../../_static/vpp/performance-changes-nfv-2n-skx-8t4c-pdr.csv>`_
 
-    MRR Comparison
-    ``````````````
+MRR Comparison
+``````````````
 
-    Comparison tables in HTML, ASCII and CSV formats:
+Comparison tables in HTML, ASCII and CSV formats:
 
-      - `HTML 2t1c MRR comparison <performance-changes-2n-skx-2t1c-mrr.html>`_
-      - `HTML 4t2c MRR comparison <performance-changes-2n-skx-4t2c-mrr.html>`_
-      - `HTML 8t4c MRR comparison <performance-changes-2n-skx-8t4c-mrr.html>`_
-      - `ASCII 2t1c MRR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-mrr.txt>`_
-      - `ASCII 4t2c MRR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-mrr.txt>`_
-      - `ASCII 8t4c MRR comparison <../../_static/vpp/performance-changes-2n-skx-8t4c-mrr.txt>`_
-      - `CSV 2t1c MRR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-mrr.csv>`_
-      - `CSV 4t2c MRR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-mrr.csv>`_
-      - `CSV 8t4c MRR comparison <../../_static/vpp/performance-changes-2n-skx-8t4c-mrr.csv>`_
+  - `HTML 2t1c MRR comparison <performance-changes-2n-skx-2t1c-mrr.html>`_
+  - `HTML 4t2c MRR comparison <performance-changes-2n-skx-4t2c-mrr.html>`_
+  - `HTML 8t4c MRR comparison <performance-changes-2n-skx-8t4c-mrr.html>`_
+  - `ASCII 2t1c MRR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-mrr.txt>`_
+  - `ASCII 4t2c MRR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-mrr.txt>`_
+  - `ASCII 8t4c MRR comparison <../../_static/vpp/performance-changes-2n-skx-8t4c-mrr.txt>`_
+  - `CSV 2t1c MRR comparison <../../_static/vpp/performance-changes-2n-skx-2t1c-mrr.csv>`_
+  - `CSV 4t2c MRR comparison <../../_static/vpp/performance-changes-2n-skx-4t2c-mrr.csv>`_
+  - `CSV 8t4c MRR comparison <../../_static/vpp/performance-changes-2n-skx-8t4c-mrr.csv>`_
 
+..
       - `HTML 2t1c NFV Service Density MRR comparison <performance-changes-nfv-2n-skx-2t1c-mrr.html>`_
       - `HTML 4t2c NFV Service Density MRR comparison <performance-changes-nfv-2n-skx-4t2c-mrr.html>`_
       - `HTML 8t4c NFV Service Density MRR comparison <performance-changes-nfv-2n-skx-8t4c-mrr.html>`_
@@ -126,59 +131,62 @@ PDR Root Cause Analysis
 3n-skx
 ~~~~~~
 
-NDR Root Cause Analysis
+NDR Comparison with RCA
 ```````````````````````
 
+Comparison tables in HTML, ASCII and CSV formats:
+
   - `HTML 2t1c NDR RCA <performance-rca-3n-skx-2t1c-ndr.html>`_
   - `ASCII 2t1c NDR RCA <../../_static/vpp/performance-rca-3n-skx-2t1c-ndr.txt>`_
   - `CSV 2t1c NDR RCA <../../_static/vpp/performance-rca-3n-skx-2t1c-ndr-csv.csv>`_
 
-PDR Root Cause Analysis
+PDR Comparison with RCA
 ```````````````````````
 
+Comparison tables in HTML, ASCII and CSV formats:
+
   - `HTML 2t1c PDR RCA <performance-rca-3n-skx-2t1c-pdr.html>`_
   - `ASCII 2t1c PDR RCA <../../_static/vpp/performance-rca-3n-skx-2t1c-pdr.txt>`_
   - `CSV 2t1c PDR RCA <../../_static/vpp/performance-rca-3n-skx-2t1c-pdr-csv.csv>`_
 
-..
-    NDR Comparison
-    ``````````````
-
-    Comparison tables in HTML, ASCII and CSV formats:
-
-      - `HTML 2t1c NDR comparison <performance-changes-3n-skx-2t1c-ndr.html>`_
-      - `HTML 4t2c NDR comparison <performance-changes-3n-skx-4t2c-ndr.html>`_
-      - `ASCII 2t1c NDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-ndr.txt>`_
-      - `ASCII 4t2c NDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-ndr.txt>`_
-      - `CSV 2t1c NDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-ndr.csv>`_
-      - `CSV 4t2c NDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-ndr.csv>`_
-
-    PDR Comparison
-    ``````````````
-
-    Comparison tables in HTML, ASCII and CSV formats:
-
-      - `HTML 2t1c PDR comparison <performance-changes-3n-skx-2t1c-pdr.html>`_
-      - `HTML 4t2c PDR comparison <performance-changes-3n-skx-4t2c-pdr.html>`_
-      - `ASCII 2t1c PDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-pdr.txt>`_
-      - `ASCII 4t2c PDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-pdr.txt>`_
-      - `CSV 2t1c PDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-pdr.csv>`_
-      - `CSV 4t2c PDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-pdr.csv>`_
-
-    MRR Comparison
-    ``````````````
-
-    Comparison tables in HTML, ASCII and CSV formats:
-
-      - `HTML 2t1c MRR comparison <performance-changes-3n-skx-2t1c-mrr.html>`_
-      - `HTML 4t2c MRR comparison <performance-changes-3n-skx-4t2c-mrr.html>`_
-      - `HTML 8t4c MRR comparison <performance-changes-3n-skx-8t4c-mrr.html>`_
-      - `ASCII 2t1c MRR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-mrr.txt>`_
-      - `ASCII 4t2c MRR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-mrr.txt>`_
-      - `ASCII 8t4c MRR comparison <../../_static/vpp/performance-changes-3n-skx-8t4c-mrr.txt>`_
-      - `CSV 2t1c MRR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-mrr.csv>`_
-      - `CSV 4t2c MRR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-mrr.csv>`_
-      - `CSV 8t4c MRR comparison <../../_static/vpp/performance-changes-3n-skx-8t4c-mrr.csv>`_
+NDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML 2t1c NDR comparison <performance-changes-3n-skx-2t1c-ndr.html>`_
+  - `HTML 4t2c NDR comparison <performance-changes-3n-skx-4t2c-ndr.html>`_
+  - `ASCII 2t1c NDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-ndr.txt>`_
+  - `ASCII 4t2c NDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-ndr.txt>`_
+  - `CSV 2t1c NDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-ndr.csv>`_
+  - `CSV 4t2c NDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-ndr.csv>`_
+
+PDR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML 2t1c PDR comparison <performance-changes-3n-skx-2t1c-pdr.html>`_
+  - `HTML 4t2c PDR comparison <performance-changes-3n-skx-4t2c-pdr.html>`_
+  - `ASCII 2t1c PDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-pdr.txt>`_
+  - `ASCII 4t2c PDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-pdr.txt>`_
+  - `CSV 2t1c PDR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-pdr.csv>`_
+  - `CSV 4t2c PDR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-pdr.csv>`_
+
+MRR Comparison
+``````````````
+
+Comparison tables in HTML, ASCII and CSV formats:
+
+  - `HTML 2t1c MRR comparison <performance-changes-3n-skx-2t1c-mrr.html>`_
+  - `HTML 4t2c MRR comparison <performance-changes-3n-skx-4t2c-mrr.html>`_
+  - `HTML 8t4c MRR comparison <performance-changes-3n-skx-8t4c-mrr.html>`_
+  - `ASCII 2t1c MRR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-mrr.txt>`_
+  - `ASCII 4t2c MRR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-mrr.txt>`_
+  - `ASCII 8t4c MRR comparison <../../_static/vpp/performance-changes-3n-skx-8t4c-mrr.txt>`_
+  - `CSV 2t1c MRR comparison <../../_static/vpp/performance-changes-3n-skx-2t1c-mrr.csv>`_
+  - `CSV 4t2c MRR comparison <../../_static/vpp/performance-changes-3n-skx-4t2c-mrr.csv>`_
+  - `CSV 8t4c MRR comparison <../../_static/vpp/performance-changes-3n-skx-8t4c-mrr.csv>`_
 
 3n-hsw
 ~~~~~~
index 8ebeadd..468b9c6 100644 (file)
@@ -552,7 +552,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
         align=params[u"align-hdr"][idx],
         font=dict(
             family=u"Courier New",
-            size=13
+            size=12
         )
     )
 
@@ -571,7 +571,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
                         align=params[u"align-itm"][idx],
                         font=dict(
                             family=u"Courier New",
-                            size=13
+                            size=12
                         )
                     )
                 )
@@ -617,7 +617,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
                     align=params[u"align-itm"][idx],
                     font=dict(
                         family=u"Courier New",
-                        size=13
+                        size=12
                     )
                 )
             )
@@ -644,7 +644,7 @@ def _tpc_generate_html_table(header, data, out_file_name, legend=u"",
         )
         if title:
             rst_file.write(f"{title}\n")
-            rst_file.write(f"{u'~' * len(title)}\n\n")
+            rst_file.write(f"{u'`' * len(title)}\n\n")
         rst_file.write(
             u".. raw:: html\n\n"
             f'    <iframe frameborder="0" scrolling="no" '
@@ -1009,7 +1009,8 @@ def table_perf_comparison(table, input_data):
         tbl_lst,
         table[u'output-file'],
         legend=legend,
-        footnote=footnote
+        footnote=footnote,
+        title=table.get(u"title", u"")
     )
 
 
@@ -1379,7 +1380,8 @@ def table_perf_comparison_nic(table, input_data):
         tbl_lst,
         table[u'output-file'],
         legend=legend,
-        footnote=footnote
+        footnote=footnote,
+        title=table.get(u"title", u"")
     )
 
 
@@ -1553,7 +1555,8 @@ def table_nics_comparison(table, input_data):
         header,
         tbl_lst,
         table[u'output-file'],
-        legend=legend
+        legend=legend,
+        title=table.get(u"title", u"")
     )
 
 
@@ -1733,7 +1736,8 @@ def table_soak_vs_ndr(table, input_data):
         header,
         tbl_lst,
         table[u'output-file'],
-        legend=legend
+        legend=legend,
+        title=table.get(u"title", u"")
     )