2017-06-22 18:14:50 +00:00
|
|
|
{
|
|
|
|
"title": "string 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",
|
|
|
|
"properties": {
|
|
|
|
"bench-variant": {"type": "string"},
|
|
|
|
"ifuncs": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {"type": "string"}
|
|
|
|
},
|
|
|
|
"results": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"timings": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {"type": "number"}
|
|
|
|
}
|
|
|
|
},
|
2022-02-25 08:58:07 +00:00
|
|
|
"additionalProperties": {
|
|
|
|
"oneOf": [
|
|
|
|
{ "type": "number" },
|
|
|
|
{ "type": "string" }
|
|
|
|
]
|
|
|
|
},
|
2017-06-22 18:14:50 +00:00
|
|
|
"minProperties": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"minProperties": 1
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["timing_type", "functions"],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|