Methods
N
O
R
Class Public methods
new(harness, metric)
     # File activesupport/lib/active_support/testing/performance.rb, line 148
148:         def initialize(harness, metric)
149:           @harness, @metric, @supported = harness, metric, false
150:         end
Instance Public methods
report()
     # File activesupport/lib/active_support/testing/performance.rb, line 152
152:         def report
153:           if @supported
154:             rate = @total / full_profile_options[:runs]
155:             '%20s: %s' % [@metric.name, @metric.format(rate)]
156:           else
157:             '%20s: unsupported' % @metric.name
158:           end
159:         end
Instance Protected methods
output_filename()
     # File activesupport/lib/active_support/testing/performance.rb, line 162
162:           def output_filename
163:             "#{full_profile_options[:output]}/#{full_test_name}_#{@metric.name}"
164:           end