Skip to content
This repository
Browse code

script/performance/profiler compatibility with the ruby-prof >= 0.5.0…

…. Closes #9176. [Catfish]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 2cdc613598ae0774767c60e3c562fb6ca35971e0 1 parent 4f39382
Joshua Peek authored April 07, 2008
2  railties/CHANGELOG
... ...
@@ -1,5 +1,7 @@
1 1
 *SVN*
2 2
 
  3
+* script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Catfish]
  4
+
3 5
 * Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar]
4 6
 
5 7
   rake gems:unpack             # unpacks all gems
2  railties/lib/commands/performance/profiler.rb
@@ -19,7 +19,7 @@
19 19
   begin
20 20
     require "ruby-prof"
21 21
     $stderr.puts 'Using the ruby-prof extension.'
22  
-    RubyProf.clock_mode = RubyProf::WALL_TIME
  22
+    RubyProf.measure_mode = RubyProf::WALL_TIME
23 23
     RubyProf.start
24 24
     profile_me
25 25
     results = RubyProf.stop

0 notes on commit 2cdc613

Please sign in to comment.
Something went wrong with that request. Please try again.