method
run_profile
rails latest stable - Class:
ActiveSupport::Testing
run_profile(metric)protected
No documentation available.
# File activesupport/lib/active_support/testing/performance.rb, line 85
def run_profile(metric)
klass = profile_options[:benchmark] ? Benchmarker : Profiler
performer = klass.new(self, metric)
performer.run
puts performer.report
performer.record
end