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

ruby-changes:40095

From: kosaki <ko1@a...>
Date: Sun, 18 Oct 2015 14:40:31 +0900 (JST)
Subject: [ruby-changes:40095] kosaki:r52176 (trunk): * common.mk: add comments how to use "make benchmark"

kosaki	2015-10-18 14:40:25 +0900 (Sun, 18 Oct 2015)

  New Revision: 52176

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

  Log:
    * common.mk: add comments how to use "make benchmark"

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 52175)
+++ ChangeLog	(revision 52176)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sun Oct 18 12:59:22 2015  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* common.mk: add comments how to use "make benchmark"
+
 Sun Oct 18 12:58:15 2015  Tanaka Akira  <akr@f...>
 
 	* lib/securerandom.rb: Specify frozen_string_literal: true.
Index: common.mk
===================================================================
--- common.mk	(revision 52175)
+++ common.mk	(revision 52176)
@@ -893,6 +893,11 @@ COMPARE_RUBY = $(BASERUBY) https://github.com/ruby/ruby/blob/trunk/common.mk#L893
 ITEM =
 OPTS =
 
+# You can pass several options through OPTS environmanent variable.
+# $ make benchmark OPTS="--help" displays more dtail.
+# for example,
+#  $ make benchmark COMPARE_RUBY="ruby-trunk" OPTS="-e ruby-2.2.2"
+# This command compares trunk and built-ruby and 2.2.2
 benchmark: $(PROGRAM) PHONY
 	$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
 	            --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \

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

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