From patchwork Mon Feb 8 07:59:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naohiro Tamura X-Patchwork-Id: 41958 X-Patchwork-Delegate: siddhesh@gotplt.org Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1E81D383E80F; Mon, 8 Feb 2021 08:00:59 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa10.hc1455-7.c3s2.iphmx.com (esa10.hc1455-7.c3s2.iphmx.com [139.138.36.225]) by sourceware.org (Postfix) with ESMTPS id BF519386EC3F for ; Mon, 8 Feb 2021 08:00:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BF519386EC3F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=fujitsu.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=naohirot@fujitsu.com IronPort-SDR: uzV+zMFs4NHAjrHNcc9tCLDxjcSbFD8NmHiYgXKblNOJVvi1FIER3fuaa1nEm/obB31cNSu7Uc dewRmVym9z0XZYYzvu3mGox+VISKUJkQvLV9DZAJBN6nqmkPxZ/wPxLouUiMs3XX9/feRStrzc Uxys0bcc7YiWBxmz4ueVaoyVhlzCGW9bH7RAQosYxKd/2GrY+Ap6lEm3JHpW/L9/mZpiZNsnaS vZIF/0/VSGSPcysQFrO5tyWZDktA9A/daIwktCOsSvdNcShDiPSex9sRHmcx+6ZoedOwf9lIx4 +sQ= X-IronPort-AV: E=McAfee;i="6000,8403,9888"; a="6468109" X-IronPort-AV: E=Sophos;i="5.81,161,1610377200"; d="scan'208";a="6468109" Received: from unknown (HELO yto-r4.gw.nic.fujitsu.com) ([218.44.52.220]) by esa10.hc1455-7.c3s2.iphmx.com with ESMTP; 08 Feb 2021 17:00:53 +0900 Received: from yto-m2.gw.nic.fujitsu.com (yto-nat-yto-m2.gw.nic.fujitsu.com [192.168.83.65]) by yto-r4.gw.nic.fujitsu.com (Postfix) with ESMTP id E5C9721EC0C for ; Mon, 8 Feb 2021 17:00:52 +0900 (JST) Received: from m3051.s.css.fujitsu.com (m3051.s.css.fujitsu.com [10.134.21.209]) by yto-m2.gw.nic.fujitsu.com (Postfix) with ESMTP id 38A1F9B621 for ; Mon, 8 Feb 2021 17:00:52 +0900 (JST) Received: from bionic.lxd (unknown [10.126.53.116]) by m3051.s.css.fujitsu.com (Postfix) with ESMTP id 2BAB03F8; Mon, 8 Feb 2021 17:00:52 +0900 (JST) From: Naohiro Tamura To: libc-alpha@sourceware.org Subject: [PATCH] benchtests: Updated json bench-variant attribute Date: Mon, 8 Feb 2021 07:59:53 +0000 Message-Id: <20210208075953.48422-1-naohirot@fujitsu.com> X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" This patch updates json "bench-variant" attribute of "bench-memset.c" to "default" so that the script "benchtests/scripts/plot_strings.py" can generate a file "memset_time_default_linear.png". Without this patch, the script "benchtests/scripts/plot_strings.py" generates a file "memset_time__linear.png" which has inconsistent form with "memcpy_time_default_linear.png" and "memmove_time_default_linear.png". --- benchtests/bench-memset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchtests/bench-memset.c b/benchtests/bench-memset.c index a84e781bdb..1174900e88 100644 --- a/benchtests/bench-memset.c +++ b/benchtests/bench-memset.c @@ -97,7 +97,7 @@ test_main (void) json_attr_object_begin (&json_ctx, "functions"); json_attr_object_begin (&json_ctx, TEST_NAME); - json_attr_string (&json_ctx, "bench-variant", ""); + json_attr_string (&json_ctx, "bench-variant", "default"); json_array_begin (&json_ctx, "ifuncs"); FOR_EACH_IMPL (impl, 0)