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: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.1 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 985B6211B3 for ; Fri, 30 Nov 2018 14:33:55 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EFE40120C5F; Fri, 30 Nov 2018 23:33:52 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id A020F120BFC for ; Fri, 30 Nov 2018 23:33:50 +0900 (JST) Received: by filter0132p3las1.sendgrid.net with SMTP id filter0132p3las1-23421-5C014A4B-8 2018-11-30 14:33:47.914550507 +0000 UTC m=+1275303.668780909 Received: from herokuapp.com (ec2-54-166-13-133.compute-1.amazonaws.com [54.166.13.133]) by ismtpd0004p1iad2.sendgrid.net (SG) with ESMTP id aKBU-JMoQvS7UcVaXjSJFg for ; Fri, 30 Nov 2018 14:33:47.803 +0000 (UTC) Date: Fri, 30 Nov 2018 14:33:48 +0000 (UTC) From: takashikkbn@gmail.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65587 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 9577 X-Redmine-Issue-Author: normalperson X-Redmine-Issue-Assignee: normalperson X-Redmine-Sender: k0kubun X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS5ZC4ixMe+Oe2zp0Mtxk3p338Bu8ZW/I82SV6 h103xBwhuW0/CexuuimeX5CijUgDisMOcmIp94LBoRlN3KMOGXDnXM6MN4YRqaiyHWsdh2sRjCRXjf +dLAJ4/LfNMVqF/VdnLI/Umi9DxXSLvsc9nIFBxM/7hn/Tf022yUtRsHAA== X-ML-Name: ruby-core X-Mail-Count: 90191 Subject: [ruby-core:90191] [Ruby trunk Feature#9577][Closed] [PATCH] benchmark/driver.rb: align columns in text output X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #9577 has been updated by k0kubun (Takashi Kokubun). Status changed from Open to Closed I think this was already fixed by introducing benchmark-driver. ~~~ $ make benchmark OPTS="-r time -o simple" ITEM=app_ ../revision.h unchanged /home/k0kubun/.rbenv/shims/ruby --disable=gems -rrubygems -I../benchmark/lib ../benchmark/benchmark-driver/exe/benchmark-driver \ --executables="compare-ruby::/home/k0kubun/.rbenv/shims/ruby --disable=gems -I.ext/common --disable-gem" \ --executables="built-ruby::./miniruby -I../lib -I. -I.ext/common -r../prelude --disable-gem" \ $(find ../benchmark -maxdepth 1 -name '*app_*.yml' -o -name '*app_*.rb' | sort) -r time -o simple Execution time (s): compare-ruby built-ruby app_answer 0.022 0.019 app_aobench 31.575 30.098 app_erb 0.632 1.311 ~~~ ---------------------------------------- Feature #9577: [PATCH] benchmark/driver.rb: align columns in text output https://bugs.ruby-lang.org/issues/9577#change-75313 * Author: normalperson (Eric Wong) * Status: Closed * Priority: Normal * Assignee: normalperson (Eric Wong) * Target version: ---------------------------------------- It is easier to read output when columns are aligned properly. I have an 80 column terminal, that's HUGE! Use it :D pulL: git://80x24.org/ruby.git bmdriver-align patch: http://bogomips.org/ruby.git/patch?id=32eed05c80 samples before: http://80x24.org/bmlog-20140126-003136.7320.gz after: http://80x24.org/bmlog-20140228-071544.1805.gz I'll commit soon unless this breaks some tools (or this makes life hard for the 40-column people :P) -- https://bugs.ruby-lang.org/