mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
a373aa25c7
The benchtests json allows {function {variant}} categorization of results whereas the pthread-locks tests had {function {variant {subvariant}}}, which broke validation. Fix that by serializing the subvariants as variant-subvariant. Also update the schema to recognize the new benchmark attributes after fixing the naming conventions.
52 lines
1.6 KiB
JSON
52 lines
1.6 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"},
|
|
"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
|
|
}
|