From patchwork Sat Aug 11 13:27:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 28862 Received: (qmail 42848 invoked by alias); 11 Aug 2018 13:27:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 42733 invoked by uid 89); 11 Aug 2018 13:27:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=workload X-HELO: homiemail-a52.g.dreamhost.com From: Siddhesh Poyarekar To: libc-alpha@sourceware.org Subject: [COMMITTED] [benchtests] Add workload test properties to schema Date: Sat, 11 Aug 2018 18:57:23 +0530 Message-Id: <20180811132723.16416-2-siddhesh@sourceware.org> In-Reply-To: <20180811132723.16416-1-siddhesh@sourceware.org> 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 + * 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"}