diff options
Diffstat (limited to 'railties/lib')
-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 |