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

Changeset 8958

Show
Ignore:
Timestamp:
02/29/08 23:17:52 (8 months ago)
Author:
nzkoz
Message:

Use realtime to reduce garbage. [adymo]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/benchmarking.rb

    r8862 r8958  
    4949 
    5050          render_output = nil 
    51           @rendering_runtime = Benchmark::measure{ render_output = render_without_benchmark(options, extra_options, &block) }.real 
     51          @rendering_runtime = Benchmark::realtime{ render_output = render_without_benchmark(options, extra_options, &block) } 
    5252 
    5353          if Object.const_defined?("ActiveRecord") && ActiveRecord::Base.connected?