about summary refs log tree commit diff
path: root/benchtests/scripts/benchout.schema.json
blob: 5f098e91c9740c973dc7b41c32c90e1cc1be7e06 (plain) (blame)
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
{
  "title": "benchmark",
  "type": "object",
  "properties": {
    "timing_type": {
      "type": "string"
    },
    "functions": {
      "title": "Associative array of functions",
      "type": "object",
      "patternProperties": {
        "^[_a-zA-Z][_a-zA-Z0-9]+$": {
          "title": "Function names",
          "type": "object",
          "patternProperties": {
            "^[_a-zA-Z0-9,=.-]*$": {
              "title": "Function variants",
              "type": "object",
              "properties": {
                "duration": {"type": "number"},
                "iterations": {"type": "number"},
                "throughput": {"type": "number"},
                "max": {"type": "number"},
                "min": {"type": "number"},
                "mean": {"type": "number"},
                "latency": {"type": "number"},
                "min-throughput": {"type": "number"},
                "max-throughput": {"type": "number"},
                "reciprocal-throughput": {"type": "number"},
                "min-outlier": {"type": "number"},
                "max-outlier": {"type": "number"},
                "wall-sec": {"type": "number"},
                "stdev": {"type": "number"},
                "timings": {
                  "type": "array",
                  "items": {"type": "number"}
                }
              },
              "required": ["duration", "iterations"],
              "additionalProperties": false
            }
          },
          "additionalProperties": false
        }
      },
      "minProperties": 1
    }
  },
  "required": ["timing_type", "functions"],
  "additionalProperties": false
}