aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2018-08-11 18:54:46 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2018-08-11 18:55:09 +0530
commit8cac1f263528d6e943554e175f39e03d2a4a3d26 (patch)
tree086039bfc70c6780827fa9b2dbd328bc7a3c06aa
parent44727aec4fc260331cf52fa752223dcf39607a0a (diff)
downloadglibc-8cac1f263528d6e943554e175f39e03d2a4a3d26.zip
glibc-8cac1f263528d6e943554e175f39e03d2a4a3d26.tar.gz
glibc-8cac1f263528d6e943554e175f39e03d2a4a3d26.tar.bz2
[benchtests] Add workload test properties to schema
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.
-rw-r--r--ChangeLog3
-rw-r--r--benchtests/scripts/benchout.schema.json4
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c7bb73..b099b19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
+ * benchtests/scripts/benchout.schema.json (properties): Add
+ new properties.
+
* benchtests/bench-skeleton.c (main): Add duration and
iterations attributes.
diff --git a/benchtests/scripts/benchout.schema.json b/benchtests/scripts/benchout.schema.json
index 0eca21b..8cfd606 100644
--- a/benchtests/scripts/benchout.schema.json
+++ b/benchtests/scripts/benchout.schema.json
@@ -23,6 +23,10 @@
"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"}