aboutsummaryrefslogtreecommitdiff
path: root/benchtests/scripts
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-04-18 12:49:54 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-04-18 12:56:29 +0530
commita373aa25c764d35370805d5a9d50c9a8e9388aca (patch)
tree40803c555e2ec6c9d6a2700c899b2eb1c07f7a66 /benchtests/scripts
parent81cbc3bcaed730aa5d9e5d4ec46a0d4cb9eb6cd5 (diff)
downloadglibc-a373aa25c764d35370805d5a9d50c9a8e9388aca.tar
glibc-a373aa25c764d35370805d5a9d50c9a8e9388aca.tar.gz
glibc-a373aa25c764d35370805d5a9d50c9a8e9388aca.tar.bz2
glibc-a373aa25c764d35370805d5a9d50c9a8e9388aca.zip
benchtests: Fix pthread-locks test to produce valid json
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.
Diffstat (limited to 'benchtests/scripts')
-rw-r--r--benchtests/scripts/benchout.schema.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchtests/scripts/benchout.schema.json b/benchtests/scripts/benchout.schema.json
index 8cfd606497..5f098e91c9 100644
--- a/benchtests/scripts/benchout.schema.json
+++ b/benchtests/scripts/benchout.schema.json
@@ -27,6 +27,10 @@
"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"}