mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
edddffc9df
Commit ac759b1fbf
added attribute
"overlap" to bench-memmove-walk, whose value is a string. This change
makes compare_strings.py fail since benchout_strings.schema.json
requires the values of attributes to be number.
This patch relaxes such constraint.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"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"}
|
|
}
|
|
},
|
|
"additionalProperties": {
|
|
"oneOf": [
|
|
{ "type": "number" },
|
|
{ "type": "string" }
|
|
]
|
|
},
|
|
"minProperties": 2
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"minProperties": 1
|
|
}
|
|
},
|
|
"required": ["timing_type", "functions"],
|
|
"additionalProperties": false
|
|
}
|