summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog4
-rw-r--r--tool/rdocbench.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 38ff5970384..c43dcbb6052 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Jun 7 11:16:28 2013 Masaya Tarui <tarui@ruby-lang.org>
+
+ * tool/rdocbench.rb: add gc total time infomation.
+
Fri Jun 7 10:12:01 2013 Koichi Sasada <ko1@atdot.net>
* gc.c: remove "Sunny" terminology.
diff --git a/tool/rdocbench.rb b/tool/rdocbench.rb
index db5e0bebf26..946d646431c 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}"
}
}
}