Sha256: 21ee5c699f5eca0b625b77f0e0b2ccd587ec8d5647a43380557cc9780b21be2a

Contents?: true

Size: 512 Bytes

Versions: 11

Compression:

Stored size: 512 Bytes

Contents

module Benchmark::Output
  class << self
    # Benchmark::Output is pluggable.
    # Create `Benchmark::Output::FooBar` as benchmark-output-foo_bar.gem and specify `output: foo_bar`.
    #
    # @param [Symbol] name
    def find(name)
      class_name = Benchmark::Driver::Configuration.camelize(name.to_s)
      Benchmark::Output.const_get(class_name, false)
    end
  end
end

require 'benchmark/output/ips'
require 'benchmark/output/markdown'
require 'benchmark/output/memory'
require 'benchmark/output/time'

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
benchmark_driver-0.8.5 lib/benchmark/output.rb
benchmark_driver-0.8.4 lib/benchmark/output.rb
benchmark_driver-0.8.3 lib/benchmark/output.rb
benchmark_driver-0.8.2 lib/benchmark/output.rb
benchmark_driver-0.8.1 lib/benchmark/output.rb
benchmark_driver-0.8.0 lib/benchmark/output.rb
benchmark_driver-0.7.2 lib/benchmark/output.rb
benchmark_driver-0.7.1 lib/benchmark/output.rb
benchmark_driver-0.7.0 lib/benchmark/output.rb
benchmark_driver-0.6.2 lib/benchmark/output.rb
benchmark_driver-0.6.1 lib/benchmark/output.rb