summaryrefslogtreecommitdiff
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
commit75356fc879452863682ba4fe7a370cff32399707 (patch)
tree7755247200b713d095be15fc90b77babe7e8e8a6 /common.mk
parent1d1ee07f3c340dc1f18564e0b84271f759511cf0 (diff)
* 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)" \