UNPKG

7.69 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "additionalProperties": {
4 },
5 "definitions": {
6 "IBenchmarkEnvironmentOverride": {
7 "additionalProperties": {
8 },
9 "properties": {
10 "cpuThrottle": {
11 "type": "number"
12 },
13 "emulateDevice": {
14 "type": "string"
15 },
16 "emulateDeviceOrientation": {
17 "type": "string"
18 },
19 "network": {
20 "type": [
21 "string",
22 "number"
23 ]
24 }
25 },
26 "type": "object"
27 },
28 "IHARServer": {
29 "properties": {
30 "dist": {
31 "type": "string"
32 },
33 "har": {
34 "type": "string"
35 },
36 "name": {
37 "type": "string"
38 },
39 "socksPort": {
40 "type": "number"
41 },
42 "url": {
43 "type": "string"
44 }
45 },
46 "type": "object"
47 },
48 "IMarker": {
49 "properties": {
50 "label": {
51 "description": "Label of phase",
52 "type": "string"
53 },
54 "start": {
55 "description": "performance.mark name",
56 "type": "string"
57 }
58 },
59 "type": "object"
60 }
61 },
62 "properties": {
63 "appName": {
64 "type": "string"
65 },
66 "browserArgs": {
67 "items": {
68 "type": "string"
69 },
70 "type": "array"
71 },
72 "controlBenchmarkEnvironment": {
73 "$ref": "#/definitions/IBenchmarkEnvironmentOverride"
74 },
75 "controlURL": {
76 "type": "string"
77 },
78 "cookie": {
79 "type": "string"
80 },
81 "cpuThrottleRate": {
82 "type": [
83 "string",
84 "number"
85 ]
86 },
87 "debug": {
88 "type": "boolean"
89 },
90 "emulateDevice": {
91 "type": "string"
92 },
93 "emulateDeviceOrientation": {
94 "type": "string"
95 },
96 "event": {
97 "type": "string"
98 },
99 "experimentBenchmarkEnvironment": {
100 "$ref": "#/definitions/IBenchmarkEnvironmentOverride"
101 },
102 "experimentURL": {
103 "type": "string"
104 },
105 "extends": {
106 "type": "string"
107 },
108 "fidelity": {
109 "anyOf": [
110 {
111 "enum": [
112 "high",
113 "low",
114 "medium",
115 "test"
116 ],
117 "type": "string"
118 },
119 {
120 "type": "number"
121 }
122 ]
123 },
124 "filter": {
125 "type": "string"
126 },
127 "headless": {
128 "type": "boolean"
129 },
130 "inputFilePath": {
131 "type": "string"
132 },
133 "iterations": {
134 "type": [
135 "string",
136 "number"
137 ]
138 },
139 "locations": {
140 "type": "string"
141 },
142 "markers": {
143 "anyOf": [
144 {
145 "items": {
146 "type": "string"
147 },
148 "type": "array"
149 },
150 {
151 "items": {
152 "$ref": "#/definitions/IMarker"
153 },
154 "type": "array"
155 },
156 {
157 "items": {
158 "enum": [
159 "connectEnd",
160 "connectStart",
161 "decodedBodySize",
162 "domComplete",
163 "domContentLoadedEventEnd",
164 "domContentLoadedEventStart",
165 "domInteractive",
166 "domainLookupEnd",
167 "domainLookupStart",
168 "duration",
169 "encodedBodySize",
170 "entryType",
171 "fetchStart",
172 "initiatorType",
173 "loadEventEnd",
174 "loadEventStart",
175 "name",
176 "nextHopProtocol",
177 "redirectCount",
178 "redirectEnd",
179 "redirectStart",
180 "requestStart",
181 "responseEnd",
182 "responseStart",
183 "secureConnectionStart",
184 "startTime",
185 "toJSON",
186 "transferSize",
187 "type",
188 "unloadEventEnd",
189 "unloadEventStart",
190 "workerStart"
191 ],
192 "type": "string"
193 },
194 "type": "array"
195 },
196 {
197 "type": "string"
198 }
199 ]
200 },
201 "methods": {
202 "type": "string"
203 },
204 "network": {
205 "type": [
206 "string",
207 "number"
208 ]
209 },
210 "outputFilePath": {
211 "type": "string"
212 },
213 "plotTitle": {
214 "type": "string"
215 },
216 "regressionThreshold": {
217 "type": [
218 "string",
219 "number"
220 ]
221 },
222 "report": {
223 "type": "string"
224 },
225 "runtimeStats": {
226 "type": "boolean"
227 },
228 "servers": {
229 "additionalItems": {
230 "anyOf": [
231 {
232 "$ref": "#/definitions/IHARServer"
233 },
234 {
235 "$ref": "#/definitions/IHARServer"
236 }
237 ]
238 },
239 "items": [
240 {
241 "$ref": "#/definitions/IHARServer"
242 },
243 {
244 "$ref": "#/definitions/IHARServer"
245 }
246 ],
247 "minItems": 2,
248 "type": "array"
249 },
250 "socksPorts": {
251 "additionalItems": {
252 "anyOf": [
253 {
254 "type": "number"
255 },
256 {
257 "type": "number"
258 }
259 ]
260 },
261 "items": [
262 {
263 "type": "number"
264 },
265 {
266 "type": "number"
267 }
268 ],
269 "minItems": 2,
270 "type": "array"
271 },
272 "tbResultsFolder": {
273 "type": "string"
274 },
275 "traceFrame": {
276 "type": "string"
277 },
278 "tracingLocationSearch": {
279 "type": "string"
280 },
281 "url": {
282 "type": "string"
283 }
284 },
285 "type": "object"
286}
287