instance method
report
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v3.2.22.5Signature
report()
No documentation comment.
Source
# File activesupport/lib/active_support/testing/performance.rb, line 152
def report
if @supported
rate = @total / full_profile_options[:runs]
'%20s: %s' % [@metric.name, @metric.format(rate)]
else
'%20s: unsupported' % @metric.name
end
end
Defined in activesupport/lib/active_support/testing/performance.rb line 152
· View on GitHub
· Improve this page
· Find usages on GitHub