Sha256: 46c9ca8faf7c889e13d6db78af0e5e9a5b85862a793c7b1ae985cd2e02ff6db6

Contents?: true

Size: 442 Bytes

Versions: 10

Compression:

Stored size: 442 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/eval'
require 'benchmark/runner/exec'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
benchmark_driver-0.8.6 lib/benchmark/runner.rb
benchmark_driver-0.8.5 lib/benchmark/runner.rb
benchmark_driver-0.8.4 lib/benchmark/runner.rb
benchmark_driver-0.8.3 lib/benchmark/runner.rb
benchmark_driver-0.8.2 lib/benchmark/runner.rb
benchmark_driver-0.8.1 lib/benchmark/runner.rb
benchmark_driver-0.8.0 lib/benchmark/runner.rb
benchmark_driver-0.7.2 lib/benchmark/runner.rb
benchmark_driver-0.7.1 lib/benchmark/runner.rb
benchmark_driver-0.7.0 lib/benchmark/runner.rb