method

run

rails latest stable - Class: ActiveSupport::Testing::Performance::ForMiniTest

Method deprecated or moved

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

run(runner)
public

No documentation available.

# File activesupport/lib/active_support/testing/performance.rb, line 45
        def run(runner)
          @runner = runner

          run_warmup
          if full_profile_options && metrics = full_profile_options[:metrics]
            metrics.each do |metric_name|
              if klass = Metrics[metric_name.to_sym]
                run_profile(klass.new)
              end
            end
          end

          return
        end