summaryrefslogtreecommitdiff
path: root/benchmark/gc/gcbench.rb
diff options
context:
space:
mode:
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 6d5b415..b038b71 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')