diff options
author | 2022-05-19 14:24:15 +0200 | |
---|---|---|
committer | 2022-06-09 11:00:10 +0000 | |
commit | a6c94c7c5898fb8570f6f9ca6fdc1909d43c5dc0 (patch) | |
tree | 934f6cda980c0b7ac105092f0db00e88a992e780 /resources/tools/dash/app/pal/report/layout.yaml | |
parent | 400205b1f838b88e72236559308d9c4b3ee61aa4 (diff) |
feat(uti): Add statistical graphs
Change-Id: Ia2831cfbcb9e2333c5b49af5c6b0577867d99902
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/report/layout.yaml')
-rw-r--r-- | resources/tools/dash/app/pal/report/layout.yaml | 118 |
1 files changed, 104 insertions, 14 deletions
diff --git a/resources/tools/dash/app/pal/report/layout.yaml b/resources/tools/dash/app/pal/report/layout.yaml index 6fa91f31f1..e6ee788a0f 100644 --- a/resources/tools/dash/app/pal/report/layout.yaml +++ b/resources/tools/dash/app/pal/report/layout.yaml @@ -1,10 +1,6 @@ plot-throughput: - titlefont: - size: 16 xaxis: title: "<b>Test Cases [Index]</b>" - titlefont: - size: 14 autorange: True fixedrange: False gridcolor: "rgb(230, 230, 230)" @@ -15,24 +11,18 @@ plot-throughput: showticklabels: True tickcolor: "rgb(220, 220, 220)" tickmode: "array" - tickfont: - size: 14 zeroline: False yaxis: - title: "<b>Packet Throughput [Mpps]</b>" - titlefont: - size: 14 + title: "<b>Packet Throughput [pps]</b>" gridcolor: "rgb(230, 230, 230)" - hoverformat: ".4r" - tickformat: ".3r" + hoverformat: ".3s" + tickformat: ".3s" linecolor: "rgb(220, 220, 220)" linewidth: 1 showgrid: True showline: True showticklabels: True tickcolor: "rgb(220, 220, 220)" - tickfont: - size: 14 zeroline: False range: [0, 50] autosize: False @@ -45,7 +35,52 @@ plot-throughput: legend: orientation: "h" font: - size: 14 + size: 10 + width: 700 + height: 900 + paper_bgcolor: "#fff" + plot_bgcolor: "#fff" + hoverlabel: + namelength: -1 + +plot-latency: + xaxis: + title: "<b>Test Cases [Index]</b>" + autorange: True + fixedrange: False + gridcolor: "rgb(230, 230, 230)" + linecolor: "rgb(220, 220, 220)" + linewidth: 1 + showgrid: True + showline: True + showticklabels: True + tickcolor: "rgb(220, 220, 220)" + tickmode: "array" + zeroline: False + yaxis: + title: "<b>Packet Latency [us]</b>" + gridcolor: "rgb(230, 230, 230)" + hoverformat: ".3s" + tickformat: ".3s" + linecolor: "rgb(220, 220, 220)" + linewidth: 1 + showgrid: True + showline: True + showticklabels: True + tickcolor: "rgb(220, 220, 220)" + zeroline: False + range: [0, 50] + autosize: False + margin: + t: 50 + b: 0 + l: 80 + r: 20 + showlegend: True + legend: + orientation: "h" + font: + size: 10 width: 700 height: 900 paper_bgcolor: "#fff" @@ -53,6 +88,61 @@ plot-throughput: hoverlabel: namelength: -1 +plot-hdrh-latency: + # title: + # text: "Latency by Percentile Distribution" + # xanchor: "center" + # x: 0.5 + # font: + # size: 10 + showlegend: True + legend: + traceorder: "normal" + orientation: "h" + # font: + # size: 16 + xanchor: "left" + yanchor: "top" + x: 0 + y: -0.25 + bgcolor: "rgba(255, 255, 255, 0)" + bordercolor: "rgba(255, 255, 255, 0)" + xaxis: + type: "log" + title: "Percentile [%]" + # titlefont: + # size: 14 + autorange: False + fixedrange: True + gridcolor: "rgb(230, 230, 230)" + linecolor: "rgb(220, 220, 220)" + linewidth: 1 + showgrid: True + showline: True + showticklabels: True + tickcolor: "rgb(220, 220, 220)" + tickvals: [1, 2, 1e1, 20, 1e2, 1e3, 1e4, 1e5, 1e6] + ticktext: [0, 50, 90, 95, 99, 99.9, 99.99, 99.999, 99.9999] + # tickfont: + # size: 14 + yaxis: + title: "One-Way Latency per Direction [us]" + # titlefont: + # size: 14 + gridcolor: "rgb(230, 230, 230)" + linecolor: "rgb(220, 220, 220)" + linewidth: 1 + showgrid: True + showline: True + showticklabels: True + tickcolor: "rgb(220, 220, 220)" + # tickfont: + # size: 14 + autosize: True + #height: 400 + paper_bgcolor: "white" + plot_bgcolor: "white" + plot-throughput-speedup-analysis: titlefont: size: 16 |