summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--tool/rdocbench.rb1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 38ff597038..c43dcbb605 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 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}"
}
}
}