class Benchmark::IPS::Job

def initialize opts={}

Options Hash: (**opts)
  • (false) (Boolean) -- :quiet Suppress the printing of information.
  • (nil) (Benchmark::Suite) -- :suite Specify Benchmark::Suite.
def initialize opts={}
  @suite = opts[:suite] || nil
  @stdout = opts[:quiet] ? nil : StdoutReport.new
  @list = []
  @compare = false
  @run_single = false
  @json_path = false
  @held_path = nil
  @held_results = nil
  @timing = Hash.new 1 # default to 1 in case warmup isn't run
  @full_report = Report.new
  # Default warmup and calculation time in seconds.
  @warmup = 2
  @time = 5
  @iterations = 1
  # Default statistical model
  @stats = :sd
  @confidence = 95
end