aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 05:40:25 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-10-18 05:40:25 +0000
commit1e1ed2655a4ba459554cbc60ebc0b8b1996823f0 (patch)
tree7755247200b713d095be15fc90b77babe7e8e8a6 /common.mk
parent5d8341d7f5517d6dcea284aa333b4e69cc98e568 (diff)
downloadruby-1e1ed2655a4ba459554cbc60ebc0b8b1996823f0.tar.gz
* common.mk: add comments how to use "make benchmark"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 15c00d4c85..657b566497 100644
--- a/common.mk
+++ b/common.mk
@@ -893,6 +893,11 @@ COMPARE_RUBY = $(BASERUBY)
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)" \