feat(uti): Add statistical graphs
[csit.git] / resources / tools / dash / app / pal / report / layout.yaml
1 plot-throughput:
2   xaxis:
3     title: "<b>Test Cases [Index]</b>"
4     autorange: True
5     fixedrange: False
6     gridcolor: "rgb(230, 230, 230)"
7     linecolor: "rgb(220, 220, 220)"
8     linewidth: 1
9     showgrid: True
10     showline: True
11     showticklabels: True
12     tickcolor: "rgb(220, 220, 220)"
13     tickmode: "array"
14     zeroline: False
15   yaxis:
16     title: "<b>Packet Throughput [pps]</b>"
17     gridcolor: "rgb(230, 230, 230)"
18     hoverformat: ".3s"
19     tickformat: ".3s"
20     linecolor: "rgb(220, 220, 220)"
21     linewidth: 1
22     showgrid: True
23     showline: True
24     showticklabels: True
25     tickcolor: "rgb(220, 220, 220)"
26     zeroline: False
27     range: [0, 50]
28   autosize: False
29   margin:
30     t: 50
31     b: 0
32     l: 80
33     r: 20
34   showlegend: True
35   legend:
36     orientation: "h"
37     font:
38       size: 10
39   width: 700
40   height: 900
41   paper_bgcolor: "#fff"
42   plot_bgcolor: "#fff"
43   hoverlabel:
44     namelength: -1
45
46 plot-latency:
47   xaxis:
48     title: "<b>Test Cases [Index]</b>"
49     autorange: True
50     fixedrange: False
51     gridcolor: "rgb(230, 230, 230)"
52     linecolor: "rgb(220, 220, 220)"
53     linewidth: 1
54     showgrid: True
55     showline: True
56     showticklabels: True
57     tickcolor: "rgb(220, 220, 220)"
58     tickmode: "array"
59     zeroline: False
60   yaxis:
61     title: "<b>Packet Latency [us]</b>"
62     gridcolor: "rgb(230, 230, 230)"
63     hoverformat: ".3s"
64     tickformat: ".3s"
65     linecolor: "rgb(220, 220, 220)"
66     linewidth: 1
67     showgrid: True
68     showline: True
69     showticklabels: True
70     tickcolor: "rgb(220, 220, 220)"
71     zeroline: False
72     range: [0, 50]
73   autosize: False
74   margin:
75     t: 50
76     b: 0
77     l: 80
78     r: 20
79   showlegend: True
80   legend:
81     orientation: "h"
82     font:
83       size: 10
84   width: 700
85   height: 900
86   paper_bgcolor: "#fff"
87   plot_bgcolor: "#fff"
88   hoverlabel:
89     namelength: -1
90
91 plot-hdrh-latency:
92   # title:
93   #   text: "Latency by Percentile Distribution"
94   #   xanchor: "center"
95   #   x: 0.5
96     # font:
97     #   size: 10
98   showlegend: True
99   legend:
100     traceorder: "normal"
101     orientation: "h"
102     # font:
103     #   size: 16
104     xanchor: "left"
105     yanchor: "top"
106     x: 0
107     y: -0.25
108     bgcolor: "rgba(255, 255, 255, 0)"
109     bordercolor: "rgba(255, 255, 255, 0)"
110   xaxis:
111     type: "log"
112     title: "Percentile [%]"
113     # titlefont:
114     #   size: 14
115     autorange: False
116     fixedrange: True
117     gridcolor: "rgb(230, 230, 230)"
118     linecolor: "rgb(220, 220, 220)"
119     linewidth: 1
120     showgrid: True
121     showline: True
122     showticklabels: True
123     tickcolor: "rgb(220, 220, 220)"
124     tickvals: [1, 2, 1e1, 20, 1e2, 1e3, 1e4, 1e5, 1e6]
125     ticktext: [0, 50, 90, 95, 99, 99.9, 99.99, 99.999, 99.9999]
126     # tickfont:
127     #   size: 14
128   yaxis:
129     title: "One-Way Latency per Direction [us]"
130     # titlefont:
131     #   size: 14
132     gridcolor: "rgb(230, 230, 230)"
133     linecolor: "rgb(220, 220, 220)"
134     linewidth: 1
135     showgrid: True
136     showline: True
137     showticklabels: True
138     tickcolor: "rgb(220, 220, 220)"
139     # tickfont:
140     #   size: 14
141   autosize: True
142   #height: 400
143   paper_bgcolor: "white"
144   plot_bgcolor: "white"
145
146 plot-throughput-speedup-analysis:
147   titlefont:
148     size: 16
149   xaxis:
150     title: "<b>Number of Cores [Qty]</b>"
151     titlefont:
152       size: 14
153     autorange: True
154     fixedrange: False
155     gridcolor: "rgb(230, 230, 230)"
156     linecolor: "rgb(220, 220, 220)"
157     linewidth: 1
158     showgrid: True
159     showline: True
160     showticklabels: True
161     tickcolor: "rgb(238, 238, 238)"
162     tickmode: "linear"
163     tickfont:
164       size: 14
165     zeroline: False
166   yaxis:
167     title: "<b>Packet Throughput [Mpps]</b>"
168     titlefont:
169       size: 14
170     type: "linear"
171     gridcolor: "rgb(230, 230, 230)"
172     hoverformat: ".4s"
173     linecolor: "rgb(220, 220, 220)"
174     linewidth: 1
175     showgrid: True
176     showline: True
177     showticklabels: True
178     tickcolor: "rgb(220, 220, 220)"
179     tickformat: ".4s"
180     tickfont:
181       size: 14
182     zeroline: True
183     rangemode: "tozero"
184     range: [0, 100]
185   legend:
186     orientation: "h"
187     font:
188       size: 14
189     xanchor: "left"
190     yanchor: "top"
191     x: 0
192     y: -0.2
193     bgcolor: "rgba(255, 255, 255, 0)"
194     bordercolor: "rgba(255, 255, 255, 0)"
195     traceorder: "normal"
196   autosize: False
197   margin:
198       't': 50
199       'b': 150
200       'l': 85
201       'r': 10
202   showlegend: True
203   width: 700
204   height: 700
205   paper_bgcolor: "#fff"
206   plot_bgcolor: "#fff"
207   hoverlabel:
208     namelength: -1
209   annotations: [
210     {
211       text: "_ _          __          ...",
212       align: "left",
213       showarrow: False,
214       xref: "paper",
215       yref: "paper",
216       xanchor: "left",
217       yanchor: "top",
218       x: 0,
219       y: -0.14,
220       font: {
221         family: "Consolas, Courier New",
222         size: 13
223       },
224     },
225     {
226       text: "    Perfect     Measured     Limit",
227       align: "left",
228       showarrow: False,
229       xref: "paper",
230       yref: "paper",
231       xanchor: "left",
232       yanchor: "top",
233       x: 0,
234       y: -0.15,
235       font: {
236         family: "Consolas, Courier New",
237         size: 13
238       },
239     },
240   ]