method

run_profile

rails latest stable - Class: ActiveSupport::Testing

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.0) is shown here.

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