lib/benchmark_driver/runner/once.rb
# This method is dynamically called by `BenchmarkDriver::JobRunner.run`
# @param [Array<BenchmarkDriver::Default::Job>] jobs
This method is dynamically called by `BenchmarkDriver::JobRunner.run`
This method is dynamically called by ` BenchmarkDriver :: JobRunner . run `
def run(jobs)
    @output.metrics_type = METRICS_TYPE
    jobs = jobs.map do |job|
      Job.new(job.to_h.merge(loop_count: 1)) 
    end
    @output.with_benchmark do
      jobs.each do |job|
        @output.with_job(job) do
          @config.executables.each do |exec|
            metrics = run_benchmark(job, exec: exec) 
            @output.report(metrics)
          end
        end
      end
    end
  end
def run ( jobs ) @output . metrics_type = METRICS_TYPE jobs = jobs . map do | job | Job . new ( job . to_h . merge ( loop_count : 1 ) ) end @output . with_benchmark do jobs . each do | job | @output . with_job ( job ) do @config . executables . each do | exec | metrics = run_benchmark ( job , exec : exec ) @output . report ( metrics ) end end end end end
This method is dynamically called by `BenchmarkDriver::JobRunner.run`
This method is dynamically called by ` BenchmarkDriver :: JobRunner . run `
# to show this on output # no repeat support
jobs
<not_specific>
<not_specific>
None