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
This commit is contained in:
ko1 2018-09-28 05:28:12 +00:00
Родитель aa1023edc4
Коммит f251ce9f48
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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)