From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id D432C1F8C6 for ; Thu, 29 Jul 2021 04:43:25 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B60A639AE848 for ; Thu, 29 Jul 2021 04:43:24 +0000 (GMT) Received: from coral.ash.relay.mailchannels.net (coral.ash.relay.mailchannels.net [23.83.222.39]) by sourceware.org (Postfix) with ESMTPS id A884F3894407 for ; Thu, 29 Jul 2021 04:43:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A884F3894407 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gotplt.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id BD71E34286D; Thu, 29 Jul 2021 04:43:07 +0000 (UTC) Received: from pdx1-sub0-mail-a81.g.dreamhost.com (100-98-55-150.trex.outbound.svc.cluster.local [100.98.55.150]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 44DD13422E9; Thu, 29 Jul 2021 04:43:07 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org Received: from pdx1-sub0-mail-a81.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.98.55.150 (trex/6.3.3); Thu, 29 Jul 2021 04:43:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Rock-Celery: 7ec8852446e292e5_1627533787538_183735853 X-MC-Loop-Signature: 1627533787537:2099714468 X-MC-Ingress-Time: 1627533787537 Received: from pdx1-sub0-mail-a81.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTP id EDED2887B7; Wed, 28 Jul 2021 21:43:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :cc:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=B9+iJ0 fnAmIeKgBF0oT4xK5f73Q=; b=GlbzxDAOZ3dGPZTmv0BYZWgCBivlGD+YW7aM8k gcqT1Ys0D6JtISE4oX/l6bYbniCHf4eaQJj4wmlN2XFfAKKn7xBAfvtpnh5uLwhY Q0zMSewIM+Zi2wIgabxq3S+us9bfRPU2P6JftW6OF/HRO+5fbb53c5iCbsKr7SqE rydrI= Received: from [192.168.1.158] (unknown [1.186.101.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTPSA id DBEE2887B0; Wed, 28 Jul 2021 21:43:00 -0700 (PDT) Subject: Re: [PATCH v2 3/5] benchtests: Add a script to convert benchout string JSON to CSV To: "naohirot@fujitsu.com" , 'Joseph Myers' References: <20210713082214.307529-1-naohirot@fujitsu.com> <20210720063540.362366-1-naohirot@fujitsu.com> X-DH-BACKEND: pdx1-sub0-mail-a81 From: Siddhesh Poyarekar Message-ID: Date: Thu, 29 Jul 2021 10:12:55 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-2022-jp; format=flowed; delsp=yes Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , Cc: "libc-alpha@sourceware.org" , Wilco Dijkstra Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On 7/29/21 7:26 AM, naohirot--- via Libc-alpha wrote: > I'm having a hard time to analyze string benchmark results. > 'jq' was chosen to just get my job done quickly, because it's natural > for me to process JSON than python. > > I believe that most of people who tried to improve string ifunc may > have developed similar tools in their local, and not shared. > And those people must be in the same situation which doesn't allow to > spend time to port it to another language or sort out to be useful for > other people because it's not their primary job, but side way job. > > It would be nice if we can stop that each developer develops similar > tools again and again. Most people in the community who work in string function improvements tend to use (and improve wherever it is lacking) benchtests/scripts/compare_strings.py for their result analysis. Adding a flag to dump csv to that script ought to be trivial if that's what you need. The script is under-documented though, so perhaps a wiki page describing what the script does and various example uses would go a very long way. > So is there any possibility to be accepted to be able to share these > trivial tools if install.texi is updated? The reason for emitting json is precisely to allow developers to implement their own analysis tools around them when their use cases are niche. Your specific use case is not niche and could be added as a flag to compare_strings.py if needed. You only need a new flag --csv (or -o csv, tab, etc.) to print in csv instead of the current output, which is meant for reading on the terminal. Siddhesh