diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-15 11:55:52 +0000 |
commit | 3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch) | |
tree | c4a278220ba8141b829c5c7b0777c1049cfe413c /benchmark | |
parent | 39da1b63699faf30c86e753e193c29b81b16136d (diff) | |
download | ruby-3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b.tar.gz |
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/driver.rb | 2 | ||||
-rw-r--r-- | benchmark/other-lang/eval.rb | 4 | ||||
-rw-r--r-- | benchmark/report.rb | 2 | ||||
-rw-r--r-- | benchmark/run.rb | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/benchmark/driver.rb b/benchmark/driver.rb index 31c9ac2dc9..c38c4fb3da 100644 --- a/benchmark/driver.rb +++ b/benchmark/driver.rb @@ -48,7 +48,7 @@ class BenchmarkDriver def progress_message *args unless STDOUT.tty? - STDERR.print(*args) + STDERR.print(*args) STDERR.flush end end diff --git a/benchmark/other-lang/eval.rb b/benchmark/other-lang/eval.rb index 3875927389..48a2cea019 100644 --- a/benchmark/other-lang/eval.rb +++ b/benchmark/other-lang/eval.rb @@ -51,14 +51,14 @@ Bench.each{|b| require 'pp' # utime -puts Lang.join("\t") +puts Lang.join("\t") Bench.each_with_index{|b, bi| print b, "\t" puts Result[bi].map{|e| e[0]}.join("\t") } # rtime -puts Lang.join("\t") +puts Lang.join("\t") Bench.each_with_index{|b, bi| print b, "\t" puts Result[bi].map{|e| e[1]}.join("\t") diff --git a/benchmark/report.rb b/benchmark/report.rb index 7aa852fc85..d2dc56b1e1 100644 --- a/benchmark/report.rb +++ b/benchmark/report.rb @@ -25,7 +25,7 @@ end def benchmark cmd rubybin = ENV['RUBY'] || RbConfig.ruby - + IO.popen(rubybin, 'r+'){|io| io.write cmd io.close_write diff --git a/benchmark/run.rb b/benchmark/run.rb index 6ef2943642..0cd2363849 100644 --- a/benchmark/run.rb +++ b/benchmark/run.rb @@ -33,8 +33,8 @@ def bm file bm_name = $1 puts '-----------------------------------------------------------' unless $rubyonly || $matzrubyonly puts "#{bm_name}: " - - + + puts <<EOS unless $matzrubyonly || $rubyonly #{prog} -- @@ -93,7 +93,7 @@ if $0 == __FILE__ ARGV.delete_if{|arg| /\A-/ =~ arg } - + puts "MatzRuby:" system("#{$matzruby_program} -v") puts "Ruby:" |