-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathschema.json
69 lines (69 loc) · 1.88 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Fastero JSON output",
"description": "Fastero JSON output",
"type": "object",
"properties": {
"setup": {
"description": "The code ran initially before running the snippets",
"type": "string"
},
"results": {
"description": "The results from running all code snippets",
"type": "array",
"minItems": 1,
"uniqueItems": true,
"items":
{
"type": "object",
"properties": {
"snippet_code": {
"description": "The code for the snippet",
"type": "string"
},
"snippet_name": {
"description": "The name for the snippet",
"type": "string"
},
"runs": {
"description": "The amount of times the snippet ran",
"type": "number"
},
"mean": {
"description": "The mean from all runs of the snippet",
"type": "number"
},
"median": {
"description": "The median from all runs of the snippet",
"type": "number"
},
"stddev": {
"description": "The standard deviation from all runs of the snippet",
"type": "number"
},
"min": {
"description": "The fastest run from all runs of the snippet",
"type": "number"
},
"max": {
"description": "The slowest run from all runs of the snippet",
"type": "number"
}
},
"required": [
"snippet_code",
"snippet_name",
"runs",
"mean",
"median",
"stddev",
"min",
"max"
]
}
}
},
"required": [
"results"
]
}