[前][次][番号順一覧][スレッド一覧]

ruby-changes:51733

From: k0kubun <ko1@a...>
Date: Wed, 11 Jul 2018 09:34:36 +0900 (JST)
Subject: [ruby-changes:51733] k0kubun:r63945 (trunk): common.mk: upgrade benchmark_driver

k0kubun	2018-07-11 09:34:32 +0900 (Wed, 11 Jul 2018)

  New Revision: 63945

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63945

  Log:
    common.mk: upgrade benchmark_driver
    
    benchmark/README.md: fix help output, which is changed on v0.14.6.
    Especially `e1::path1,arg1,...; e2::path2,arg2` part was wrong since `,`
    can't be used to split arguments anymore.

  Modified files:
    trunk/benchmark/README.md
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 63944)
+++ common.mk	(revision 63945)
@@ -42,7 +42,7 @@ GEM_PATH = https://github.com/ruby/ruby/blob/trunk/common.mk#L42
 GEM_VENDOR =
 
 BENCHMARK_DRIVER_GIT_URL = https://github.com/benchmark-driver/benchmark-driver
-BENCHMARK_DRIVER_GIT_REF = v0.14.5
+BENCHMARK_DRIVER_GIT_REF = v0.14.6
 SIMPLECOV_GIT_URL = git://github.com/colszowka/simplecov.git
 SIMPLECOV_GIT_REF = v0.15.0
 SIMPLECOV_HTML_GIT_URL = git://github.com/colszowka/simplecov-html.git
Index: benchmark/README.md
===================================================================
--- benchmark/README.md	(revision 63944)
+++ benchmark/README.md	(revision 63945)
@@ -27,17 +27,17 @@ benchmark-driver benchmark/*.yml https://github.com/ruby/ruby/blob/trunk/benchmark/README.md#L27
 See also:
 
 ```console
-$ benchmark-driver --help
-Usage: benchmark-driver [options] [YAML|RUBY]
-    -r, --runner [TYPE]              Specify runner type: ips, time, memory, once (default: ips)
-    -o, --output [TYPE]              Specify output type: compare, simple, markdown, record (default: compare)
-    -e, --executables [EXECS]        Ruby executables (e1::path1,arg1,...; e2::path2,arg2;...)
-        --rbenv [VERSIONS]           Ruby executables in rbenv (x.x.x,arg1,...;y.y.y,arg2,...;...)
-        --repeat-count [NUM]         Try benchmark NUM times and use the fastest result or the worst memory usage
-        --repeat-result [TYPE]       Yield "best", "average" or "worst" result with --repeat-count (default: best)
+Usage: benchmark-driver [options] RUBY|YAML...
+    -r, --runner TYPE                Specify runner type: ips, time, memory, once (default: ips)
+    -o, --output TYPE                Specify output type: compare, simple, markdown, record (default: compare)
+    -e, --executables EXECS          Ruby executables (e1::path1 arg1; e2::path2 arg2;...)
+        --rbenv VERSIONS             Ruby executables in rbenv (x.x.x arg1;y.y.y arg2;...)
+        --repeat-count NUM           Try benchmark NUM times and use the fastest result or the worst memory usage
+        --repeat-result TYPE         Yield "best", "average" or "worst" result with --repeat-count (default: best)
         --bundler                    Install and use gems specified in Gemfile
-        --filter [REGEXP]            Filter out benchmarks with given regexp
-        --run-duration [SECONDS]     Warmup estimates loop_count to run for this duration (default: 3)
+        --filter REGEXP              Filter out benchmarks with given regexp
+        --run-duration SECONDS       Warmup estimates loop_count to run for this duration (default: 3)
+        --timeout SECONDS            Timeout ruby command execution with timeout(1)
     -v, --verbose                    Verbose mode. Multiple -v options increase visilibity (max: 2)
 ```
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]