initial commit
[glibc.git] / benchtests / scripts / benchout_strings.schema.json
1 {
2 "title": "string benchmark",
3 "type": "object",
4 "properties": {
5 "timing_type": {
6 "type": "string"
7 },
8 "functions": {
9 "title": "Associative array of functions",
10 "type": "object",
11 "patternProperties": {
12 "^[_a-zA-Z][_a-zA-Z0-9]+$": {
13 "title": "Function names",
14 "type": "object",
15 "properties": {
16 "bench-variant": {"type": "string"},
17 "ifuncs": {
18 "type": "array",
19 "items": {"type": "string"}
20 },
21 "results": {
22 "type": "array",
23 "items": {
24 "type": "object",
25 "properties": {
26 "timings": {
27 "type": "array",
28 "items": {"type": "number"}
29 }
30 },
31 "additionalProperties": {
32 "oneOf": [
33 { "type": "number" },
34 { "type": "string" }
35 ]
36 },
37 "minProperties": 2
38 }
39 }
40 },
41 "additionalProperties": false
42 }
43 },
44 "minProperties": 1
45 }
46 },
47 "required": ["timing_type", "functions"],
48 "additionalProperties": false
49 }