overridden by each implementation

Methods
C
N
O
R
T
Class Public methods
new(*args)
# File activesupport/lib/active_support/testing/performance/rubinius.rb, line 22
def initialize(*args)
  super
  @supported = @metric.is_a?(Metrics::WallTime)
end
Instance Public methods
record()
# File activesupport/lib/active_support/testing/performance.rb, line 176
def record; end
run()
# File activesupport/lib/active_support/testing/performance.rb, line 175
def run;    end
time_with_block()
# File activesupport/lib/active_support/testing/performance.rb, line 169
def time_with_block
  before = Time.now
  yield
  Time.now - before
end
Instance Protected methods
create_path_and_open_file(printer_name)
# File activesupport/lib/active_support/testing/performance/rubinius.rb, line 56
def create_path_and_open_file(printer_name)
  fname = "#{output_filename}_#{printer_name}.txt"
  FileUtils.mkdir_p(File.dirname(fname))
  File.open(fname, 'wb') do |file|
    yield(file)
  end
end
output_filename(printer_class)
# File activesupport/lib/active_support/testing/performance/ruby.rb, line 57
def output_filename(printer_class)
  suffix =
    case printer_class.name.demodulize
      when 'FlatPrinter';                 'flat.txt'
      when 'FlatPrinterWithLineNumbers';  'flat_line_numbers.txt'
      when 'GraphPrinter';                'graph.txt'
      when 'GraphHtmlPrinter';            'graph.html'
      when 'GraphYamlPrinter';            'graph.yml'
      when 'CallTreePrinter';             'tree.txt'
      when 'CallStackPrinter';            'stack.html'
      when 'DotPrinter';                  'graph.dot'
      else printer_class.name.sub(/Printer$/, '').underscore
    end

  "#{super()}_#{suffix}"
end