private Method

Benchmarking.rendering_runtime(runtime)

There's no documentation for this item.

Source Code

# File action_controller/benchmarking.rb, line 81
def rendering_runtime(runtime)
  percentage = @rendering_runtime * 100 / runtime
  " | Rendering: %.5f (%d%%)" % [@rendering_runtime, percentage.to_i]
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.