diff --git a/ChangeLog b/ChangeLog index ac54ab9c78..c17d41d66c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Oct 18 12:59:22 2015 KOSAKI Motohiro + + * common.mk: add comments how to use "make benchmark" + Sun Oct 18 12:58:15 2015 Tanaka Akira * lib/securerandom.rb: Specify frozen_string_literal: true. 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)" \