method
run
rails latest stable - Class:
ActiveSupport::Testing::Performance::ForMiniTest
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