[前][次][番号順一覧][スレッド一覧]

ruby-changes:29071

From: tarui <ko1@a...>
Date: Fri, 7 Jun 2013 11:18:16 +0900 (JST)
Subject: [ruby-changes:29071] tarui:r41123 (trunk): * tool/rdocbench.rb: add gc total time infomation.

tarui	2013-06-07 11:18:05 +0900 (Fri, 07 Jun 2013)

  New Revision: 41123

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41123

  Log:
    * tool/rdocbench.rb: add gc total time infomation.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rdocbench.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 41122)
+++ ChangeLog	(revision 41123)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Jun  7 11:16:28 2013  Masaya Tarui  <tarui@r...>
+
+	* tool/rdocbench.rb: add gc total time infomation.
+
 Fri Jun  7 10:12:01 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c: remove "Sunny" terminology.
Index: tool/rdocbench.rb
===================================================================
--- tool/rdocbench.rb	(revision 41122)
+++ tool/rdocbench.rb	(revision 41123)
@@ -16,6 +16,7 @@ Dir.mktmpdir('rdocbench-'){|d| https://github.com/ruby/ruby/blob/trunk/tool/rdocbench.rb#L16
       r.document args
       GC::Profiler.report
       pp GC.stat
+      puts "GC Total Time:#{GC::Profiler.total_time}"
     }
   }
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]