aboutsummaryrefslogtreecommitdiff
path: root/benchtests/scripts
diff options
context:
space:
mode:
authorVictor Rodriguez <victor.rodriguez.bahena@intel.com>2017-11-28 19:49:59 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2017-11-28 19:49:59 +0530
commit0595e3603406e7f7b457bf9c99059bf1a48d97ef (patch)
tree54ce801d78d3af890a8e8cb569032204346e10c9 /benchtests/scripts
parentb4c645c2f5513ef4f97916ee59243aa8aac1f3c1 (diff)
downloadglibc-0595e3603406e7f7b457bf9c99059bf1a48d97ef.zip
glibc-0595e3603406e7f7b457bf9c99059bf1a48d97ef.tar.gz
glibc-0595e3603406e7f7b457bf9c99059bf1a48d97ef.tar.bz2
benchtests: Adjust valid and accepted properties
Benchmark workload-spec2006.wrf does not produce max, min or mean results but instead produce throughput. This is represented in benchtests/bench-skeleton.c. This patch adjust benchout.schema.json to consider bench.out from bench-math benchmarks as valid ChangeLog: * benchtests/scripts/benchout.schema.json: Add throughput as accepted result from property and remove "max", min" and "mean" from required properties based on benchtests/bench-skeleton.c. Signed-off-by: Victor Rodriguez <victor.rodriguez.bahena@intel.com> Reviewed-By: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'benchtests/scripts')
-rw-r--r--benchtests/scripts/benchout.schema.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchtests/scripts/benchout.schema.json b/benchtests/scripts/benchout.schema.json
index affb7c1..dfc00b1 100644
--- a/benchtests/scripts/benchout.schema.json
+++ b/benchtests/scripts/benchout.schema.json
@@ -19,6 +19,7 @@
"properties": {
"duration": {"type": "number"},
"iterations": {"type": "number"},
+ "throughput": {"type": "number"},
"max": {"type": "number"},
"min": {"type": "number"},
"mean": {"type": "number"},
@@ -27,7 +28,7 @@
"items": {"type": "number"}
}
},
- "required": ["duration", "iterations", "max", "min", "mean"],
+ "required": ["duration", "iterations"],
"additionalProperties": false
}
},