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

ruby-changes:22726

From: drbrain <ko1@a...>
Date: Fri, 24 Feb 2012 08:35:33 +0900 (JST)
Subject: [ruby-changes:22726] drbrain:r34775 (trunk): Clean whitespace

drbrain	2012-02-24 08:35:21 +0900 (Fri, 24 Feb 2012)

  New Revision: 34775

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

  Log:
    Clean whitespace

  Modified files:
    trunk/lib/profiler.rb

Index: lib/profiler.rb
===================================================================
--- lib/profiler.rb	(revision 34774)
+++ lib/profiler.rb	(revision 34775)
@@ -1,51 +1,51 @@
-# Profile provides a way to Profile your Ruby application. 
-# 
+# Profile provides a way to Profile your Ruby application.
+#
 # Profiling your program is a way of determining which methods are called and
 # how long each method takes to complete.  This way you can detect which
 # methods are possible bottlenecks.
-# 
+#
 # Profiling your program will slow down your execution time considerably,
 # so activate it only when you need it.  Don't confuse benchmarking with
 # profiling.
-# 
+#
 # There are two ways to activate Profiling:
-# 
+#
 # == Command line
-# 
+#
 # Run your Ruby script with <code>-rprofile</code>:
-# 
+#
 #   ruby -rprofile example.rb
 #
 # If you're profiling an executable in your <code>$PATH</code> you can use
 # <code>ruby -S</code>:
 #
 #   ruby -rprofile -S some_executable
-#   
+#
 # == From code
-# 
+#
 # Just require 'profile':
-# 
+#
 #   require 'profile'
-#   
+#
 #   def slow_method
 #     5000.times do
 #       9999999999999999*999999999
-#     end  
+#     end
 #   end
-# 
+#
 #   def fast_method
 #     5000.times do
 #       9999999999999999+999999999
-#     end  
+#     end
 #   end
-# 
+#
 #   slow_method
 #   fast_method
-#   
+#
 # The output in both cases is a report when the execution is over:
-# 
+#
 #   ruby -rprofile example.rb
-# 
+#
 #     %   cumulative   self              self     total
 #    time   seconds   seconds    calls  ms/call  ms/call  name
 #    68.42     0.13      0.13        2    65.00    95.00  Integer#times

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

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