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
This commit is contained in:
Josh Peek
2008-04-07 19:29:09 +00:00
parent 4f39382a2f
commit 2cdc613598
2 changed files with 3 additions and 1 deletions

View File

@@ -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 File

@@ -19,7 +19,7 @@ begin
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