This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] [benchtests] Add workload test properties to schema
- From: Siddhesh Poyarekar <siddhesh at sourceware dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 11 Aug 2018 18:57:23 +0530
- Subject: [COMMITTED] [benchtests] Add workload test properties to schema
- References: <20180811132723.16416-1-siddhesh@sourceware.org>
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.
---
ChangeLog | 3 +++
benchtests/scripts/benchout.schema.json | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 9c7bb73ff8..b099b192ba 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 0eca21b6bd..8cfd606497 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"}
--
2.17.1