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