aboutsummaryrefslogtreecommitdiffstats
path: root/docs/report/vpp_performance_tests/http_server_performance
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2018-10-05 10:44:15 +0200
committerTibor Frank <tifrank@cisco.com>2018-10-31 13:45:15 +0100
commit8243ea78854683f2f80da53d8f197f10316e4801 (patch)
treeb67155f4abdd8e8cdec39427ad81d927378e1ec4 /docs/report/vpp_performance_tests/http_server_performance
parent810913a6967d080612a01463d39acdefc1e3e640 (diff)
CSIT-1332: Proposal of new layout of all graphs
Change-Id: Ib5d113fd2071e481bcc5e3d043a43a58947b8da1 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'docs/report/vpp_performance_tests/http_server_performance')
-rw-r--r--docs/report/vpp_performance_tests/http_server_performance/index.rst35
1 files changed, 30 insertions, 5 deletions
diff --git a/docs/report/vpp_performance_tests/http_server_performance/index.rst b/docs/report/vpp_performance_tests/http_server_performance/index.rst
index 2e2226f2f5..1a7c1d9901 100644
--- a/docs/report/vpp_performance_tests/http_server_performance/index.rst
+++ b/docs/report/vpp_performance_tests/http_server_performance/index.rst
@@ -3,6 +3,31 @@
\clearpage
+.. raw:: html
+
+ <script type="text/javascript">
+
+ function getDocHeight(doc) {
+ doc = doc || document;
+ var body = doc.body, html = doc.documentElement;
+ var height = Math.max( body.scrollHeight, body.offsetHeight,
+ html.clientHeight, html.scrollHeight, html.offsetHeight );
+ return height;
+ }
+
+ function setIframeHeight(id) {
+ var ifrm = document.getElementById(id);
+ var doc = ifrm.contentDocument? ifrm.contentDocument:
+ ifrm.contentWindow.document;
+ ifrm.style.visibility = 'hidden';
+ ifrm.style.height = "10px"; // reset to minimal height ...
+ // IE opt. for bing/msn needs a bit added or scrollbar appears
+ ifrm.style.height = getDocHeight( doc ) + 4 + "px";
+ ifrm.style.visibility = 'visible';
+ }
+
+ </script>
+
HTTP/TCP Performance
====================
@@ -24,7 +49,7 @@ plotted as individual points.
<../../_static/archive/>`_.
CSIT source code for the test cases used for plots can be found in
- `CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/tcp?h=rls1807>`_.
+ `CSIT git repository <https://git.fd.io/csit/tree/tests/vpp/perf/tcp?h=rls1810>`_.
.. raw:: latex
@@ -35,14 +60,14 @@ Connections per second
.. raw:: html
- <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-cps.html"></iframe>
+ <iframe id="ifrm01" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-cps.html"></iframe>
.. raw:: latex
\begin{figure}[H]
\centering
\graphicspath{{../_build/_static/vpp/}}
- \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-cps}
+ \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-cps}
\label{fig:http-server-performance-cps}
\end{figure}
@@ -55,13 +80,13 @@ Requests per second
.. raw:: html
- <iframe width="700" height="1000" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-rps.html"></iframe>
+ <iframe id="ifrm02" onload="setIframeHeight(this.id)" width="700" frameborder="0" scrolling="no" src="../../_static/vpp/http-server-performance-rps.html"></iframe>
.. raw:: latex
\begin{figure}[H]
\centering
\graphicspath{{../_build/_static/vpp/}}
- \includegraphics[clip, trim=0cm 8cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-rps}
+ \includegraphics[clip, trim=0cm 0cm 5cm 0cm, width=0.70\textwidth]{http-server-performance-rps}
\label{fig:http-server-performance-rps}
\end{figure}