From f251ce9f48e7bfb8a5f72f12c8c00d0b6a137899 Mon Sep 17 00:00:00 2001 From: ko1 Date: Fri, 28 Sep 2018 05:28:12 +0000 Subject: don't use GC::Profiler on default. * benchmark/gc/gcbench.rb: disable GC::Profiler on default. add -p option instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/gc/gcbench.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'benchmark/gc') diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb index 09a404466a..23d0b91c6c 100644 --- a/benchmark/gc/gcbench.rb +++ b/benchmark/gc/gcbench.rb @@ -3,11 +3,12 @@ require 'pp' require 'optparse' $list = true -$gcprof = true +$gcprof = false opt = OptionParser.new opt.on('-q'){$list = false} opt.on('-d'){$gcprof = false} +opt.on('-p'){$gcprof = true} opt.parse!(ARGV) script = File.join(File.dirname(__FILE__), ARGV.shift) -- cgit v1.2.3