class method
self.benchmark
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.benchmark(n, script)
No documentation comment.
Parameters
-
nreq -
scriptreq
Source
# File actionpack/lib/action_controller/request_profiler.rb, line 10
def self.benchmark(n, script)
new(script).benchmark(n)
end
Defined in actionpack/lib/action_controller/request_profiler.rb line 10
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::RequestProfiler::Sandbox