Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 9236

Show
Ignore:
Timestamp:
04/07/08 19:29:09 (3 months ago)
Author:
josh
Message:

script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Catfish]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/CHANGELOG

    r9216 r9236  
    11*SVN* 
     2 
     3* script/performance/profiler compatibility with the ruby-prof >= 0.5.0. Closes #9176. [Catfish] 
    24 
    35* Flesh out rake gems:unpack to unpack all gems, and add rake gems:build for native extensions. #11513 [ddollar] 
  • trunk/railties/lib/commands/performance/profiler.rb

    r4673 r9236  
    2020    require "ruby-prof" 
    2121    $stderr.puts 'Using the ruby-prof extension.' 
    22     RubyProf.clock_mode = RubyProf::WALL_TIME 
     22    RubyProf.measure_mode = RubyProf::WALL_TIME 
    2323    RubyProf.start 
    2424    profile_me