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: 956548 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-95174-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=sourceware.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ysYeZyqI"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41njV10SRmz9s7c for ; Sat, 11 Aug 2018 23:27:52 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=DS9feleX1OaMKU1L44c2oped4hqdqZw rHJN0WgIOFQZ6g5EQMZQs/vZd0nZpfiLyiv2zrn7CDWAHCZurZsCKyUChR/CSSHA vna7dUMErSTs4tE9NYb5Hz5LpBjQY97MOZ5jwVlSZMKApFxta3Ol+nTBDYFjSzKx JqCIN0fk3FiI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=wmzen21RsZr158/grza+1s0gbI4=; b=ysYeZ yqIHpXdQMy9wVQZCmyV9dz53zgaxkvQ3ROT5yau+z0uDczPa7ZbSQY0UPWQzQ4qr bRJo+eZqv4ODql/nOKKyKbaITN+AaR5dMeOeujqYvOZapQ8bbN/MT66NNwsiYtcF bN2tZUz3YvCYduLUyTbmZdhyviQ2eyx9j4DkFA= 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"}