instance method
run
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
run(runner)
No documentation comment.
Parameters
-
runnerreq
Source
# 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
Defined in activesupport/lib/active_support/testing/performance.rb line 45
· View on GitHub
· Improve this page
· Find usages on GitHub