From 75356fc879452863682ba4fe7a370cff32399707 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 18 Oct 2015 05:40:25 +0000 Subject: [PATCH] * 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 --- ChangeLog | 4 ++++ common.mk | 5 +++++ 2 files changed, 9 insertions(+) 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)" \