mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
8cac1f2635
Add the workload test properties (max-throughput, latency, etc.) to the schema to prevent benchmark output validation from failing. * benchtests/scripts/benchout.schema.json (properties): Add new properties.
48 lines
1.4 KiB
JSON
48 lines
1.4 KiB
JSON
{
|
|
"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"},
|
|
"timings": {
|
|
"type": "array",
|
|
"items": {"type": "number"}
|
|
}
|
|
},
|
|
"required": ["duration", "iterations"],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"minProperties": 1
|
|
}
|
|
},
|
|
"required": ["timing_type", "functions"],
|
|
"additionalProperties": false
|
|
}
|