diff options
author | Josh Peek <josh@joshpeek.com> | 2008-04-07 19:29:09 +0000 |
---|---|---|
committer | Josh Peek <josh@joshpeek.com> | 2008-04-07 19:29:09 +0000 |
commit | 2cdc613598ae0774767c60e3c562fb6ca35971e0 (patch) | |
tree | 0e9f502bb59d48cd07c25a140c9beef0c9499597 /railties/lib/commands | |
parent | 4f39382a2fad5e299fce73ae0ba60f28dfddb21a (diff) | |
download | rails-2cdc613598ae0774767c60e3c562fb6ca35971e0.tar.gz rails-2cdc613598ae0774767c60e3c562fb6ca35971e0.tar.bz2 rails-2cdc613598ae0774767c60e3c562fb6ca35971e0.zip |
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
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/performance/profiler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/performance/profiler.rb b/railties/lib/commands/performance/profiler.rb index 464cea344d..fd111bae87 100644 --- a/railties/lib/commands/performance/profiler.rb +++ b/railties/lib/commands/performance/profiler.rb @@ -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 |