diff options
Diffstat (limited to 'benchmark/gc')
| -rw-r--r-- | benchmark/gc/aobench.rb | 2 | ||||
| -rw-r--r-- | benchmark/gc/binary_trees.rb | 2 | ||||
| -rw-r--r-- | benchmark/gc/gcbench.rb | 6 | ||||
| -rw-r--r-- | benchmark/gc/pentomino.rb | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/benchmark/gc/aobench.rb b/benchmark/gc/aobench.rb index 2eed7abc83..275f58b924 100644 --- a/benchmark/gc/aobench.rb +++ b/benchmark/gc/aobench.rb @@ -1 +1 @@ -require_relative '../bm_app_aobench.rb' +require_relative '../app_aobench' diff --git a/benchmark/gc/binary_trees.rb b/benchmark/gc/binary_trees.rb index af8ea722aa..83347cdd20 100644 --- a/benchmark/gc/binary_trees.rb +++ b/benchmark/gc/binary_trees.rb @@ -1 +1 @@ -require_relative '../bm_so_binary_trees.rb' +require_relative '../so_binary_trees' diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb index 6d5b415427..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) @@ -33,6 +34,9 @@ if $gcprof end pp GC.stat + +puts "#{RUBY_DESCRIPTION} #{GC::OPTS.inspect}" if defined?(GC::OPTS) + desc = "#{RUBY_VERSION}#{RUBY_PATCHLEVEL >= 0 ? "p#{RUBY_PATCHLEVEL}" : "dev"}" name = File.basename(script, '.rb') diff --git a/benchmark/gc/pentomino.rb b/benchmark/gc/pentomino.rb index 94ba74be89..8ebdff7d1d 100644 --- a/benchmark/gc/pentomino.rb +++ b/benchmark/gc/pentomino.rb @@ -1 +1 @@ -require_relative '../bm_app_pentomino.rb' +require_relative '../app_pentomino' |
