Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
@josh josh authored
View
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Catfish]
+
* Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar]
rake gems:unpack # unpacks all gems
View
2  railties/lib/commands/performance/profiler.rb
@@ -19,7 +19,7 @@
begin
require "ruby-prof"
$stderr.puts 'Using the ruby-prof extension.'
- RubyProf.clock_mode = RubyProf::WALL_TIME
+ RubyProf.measure_mode = RubyProf::WALL_TIME
RubyProf.start
profile_me
results = RubyProf.stop
Please sign in to comment.
Something went wrong with that request. Please try again.