lib/benchmark_driver/runner.rb in benchmark_driver-0.9.2 vs lib/benchmark_driver/runner.rb in benchmark_driver-0.10.0
- old
+ new
@@ -1,10 +1,11 @@
module BenchmarkDriver
module Runner
require 'benchmark_driver/runner/ips'
require 'benchmark_driver/runner/memory'
require 'benchmark_driver/runner/once'
+ require 'benchmark_driver/runner/recorded'
require 'benchmark_driver/runner/time'
end
class << Runner
# Main function which is used by both CLI and `Benchmark.driver`.
@@ -27,10 +28,9 @@
jobs.group_by(&:class).each do |klass, jobs_group|
runner = runner_for(klass)
output = Output.find(config.output_type).new(
jobs: jobs,
executables: config.executables,
- metrics_type: runner::MetricsType,
)
runner.new(config: runner_config, output: output).run(jobs)
end
end