method
report
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::Testing::Performance::Performer
report()public
No documentation available.
# 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