summaryrefslogtreecommitdiff
path: root/benchmark/gc/gcbench.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 15:43:30 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-11-09 15:43:30 +0000
commitb3abb163f4e0e5cc52aa5b4dfacff4273c0510c9 (patch)
tree3b8648c7548cd918f76ec416f2906b84812cc7dc /benchmark/gc/gcbench.rb
parent3fdff0501aab8400c0f8743b043c9e0533c5767e (diff)
* benchmark/gc/gcbench.rb: output version description and GC::OPTS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/gc/gcbench.rb')
-rw-r--r--benchmark/gc/gcbench.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb
index 6d5b415427..b038b71b54 100644
--- a/benchmark/gc/gcbench.rb
+++ b/benchmark/gc/gcbench.rb
@@ -33,6 +33,9 @@ if $gcprof
end
pp GC.stat
+
+puts "#{RUBY_DESCRIPTION} #{GC::OPTS.inspect}"
+
desc = "#{RUBY_VERSION}#{RUBY_PATCHLEVEL >= 0 ? "p#{RUBY_PATCHLEVEL}" : "dev"}"
name = File.basename(script, '.rb')