Blame benchtests/scripts/benchout.schema.json

Packit 6c4009
{
Packit 6c4009
  "title": "benchmark",
Packit 6c4009
  "type": "object",
Packit 6c4009
  "properties": {
Packit 6c4009
    "timing_type": {
Packit 6c4009
      "type": "string"
Packit 6c4009
    },
Packit 6c4009
    "functions": {
Packit 6c4009
      "title": "Associative array of functions",
Packit 6c4009
      "type": "object",
Packit 6c4009
      "patternProperties": {
Packit 6c4009
        "^[_a-zA-Z][_a-zA-Z0-9]+$": {
Packit 6c4009
          "title": "Function names",
Packit 6c4009
          "type": "object",
Packit 6c4009
          "patternProperties": {
Packit 6c4009
            "^[_a-zA-Z0-9,=.-]*$": {
Packit 6c4009
              "title": "Function variants",
Packit 6c4009
              "type": "object",
Packit 6c4009
              "properties": {
Packit 6c4009
                "duration": {"type": "number"},
Packit 6c4009
                "iterations": {"type": "number"},
Packit 6c4009
                "throughput": {"type": "number"},
Packit 6c4009
                "max": {"type": "number"},
Packit 6c4009
                "min": {"type": "number"},
Packit 6c4009
                "mean": {"type": "number"},
Packit 6c4009
                "timings": {
Packit 6c4009
                  "type": "array",
Packit 6c4009
                  "items": {"type": "number"}
Packit 6c4009
                }
Packit 6c4009
              },
Packit 6c4009
              "required": ["duration", "iterations"],
Packit 6c4009
              "additionalProperties": false
Packit 6c4009
            }
Packit 6c4009
          },
Packit 6c4009
          "additionalProperties": false
Packit 6c4009
        }
Packit 6c4009
      },
Packit 6c4009
      "minProperties": 1
Packit 6c4009
    }
Packit 6c4009
  },
Packit 6c4009
  "required": ["timing_type", "functions"],
Packit 6c4009
  "additionalProperties": false
Packit 6c4009
}