method
load_ruby_prof
v2.0.3 -
Show latest stable
- Class:
ActionController::RequestProfiler
load_ruby_prof()protected
No documentation available.
# File actionpack/lib/action_controller/request_profiler.rb, line 127
def load_ruby_prof
begin
require 'ruby-prof'
#RubyProf.measure_mode = RubyProf::ALLOCATED_OBJECTS
rescue LoadError
abort '`gem install ruby-prof` to use the profiler'
end
end