ruby-changes:52660
From: ko1 <ko1@a...>
Date: Fri, 28 Sep 2018 14:28:17 +0900 (JST)
Subject: [ruby-changes:52660] ko1:r64872 (trunk): don't use GC::Profiler on default.
ko1 2018-09-28 14:28:12 +0900 (Fri, 28 Sep 2018) New Revision: 64872 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64872 Log: don't use GC::Profiler on default. * benchmark/gc/gcbench.rb: disable GC::Profiler on default. add -p option instead. Modified files: trunk/benchmark/gc/gcbench.rb Index: benchmark/gc/gcbench.rb =================================================================== --- benchmark/gc/gcbench.rb (revision 64871) +++ benchmark/gc/gcbench.rb (revision 64872) @@ -3,11 +3,12 @@ require 'pp' https://github.com/ruby/ruby/blob/trunk/benchmark/gc/gcbench.rb#L3 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/