summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authortarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 02:18:05 +0000
committertarui <tarui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-07 02:18:05 +0000
commitb1bbe884cd5e6554017b5c6b610acf653db23a04 (patch)
tree686b7eee39fcab5dfe743b2e47b9787d5a69b963 /tool
parentf1a8f228c87292dd0795d221d33dcb9dd95e4f62 (diff)
* tool/rdocbench.rb: add gc total time infomation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rw-r--r--tool/rdocbench.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/rdocbench.rb b/tool/rdocbench.rb
index db5e0bebf2..946d646431 100644
--- a/tool/rdocbench.rb
+++ b/tool/rdocbench.rb
@@ -16,6 +16,7 @@ Dir.mktmpdir('rdocbench-'){|d|
r.document args
GC::Profiler.report
pp GC.stat
+ puts "GC Total Time:#{GC::Profiler.total_time}"
}
}
}