Sha256: b44e2564b4f7ff2281c1d3276034747656e2179d594c996f7a22365cbadc1701

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

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

require 'benchmark/runner/call'
require 'benchmark/runner/exec'

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
benchmark_driver-0.6.2 lib/benchmark/runner.rb
benchmark_driver-0.5.1 lib/benchmark/runner.rb
benchmark_driver-0.5.0 lib/benchmark/runner.rb
benchmark_driver-0.4.5 lib/benchmark/runner.rb
benchmark_driver-0.4.4 lib/benchmark/runner.rb
benchmark_driver-0.4.3 lib/benchmark/runner.rb
benchmark_driver-0.4.2 lib/benchmark/runner.rb
benchmark_driver-0.4.1 lib/benchmark/runner.rb
benchmark_driver-0.4.0 lib/benchmark/runner.rb