mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
aa1023edc4
commit
f251ce9f48
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue