class Benchmark::IPS::Job
def config opts
(**iterations)
-
:time
(Integer
) -- Warmup and calculation iterations. -
:time
(Integer
) -- Calculation time. -
:warmup
(Integer
) -- Warmup time.
def config opts @warmup = opts[:warmup] if opts[:warmup] @time = opts[:time] if opts[:time] @iterations = opts[:iterations] if opts[:iterations] @stats = opts[:stats] if opts[:stats] @confidence = opts[:confidence] if opts[:confidence] self.quiet = opts[:quiet] if opts.key?(:quiet) self.suite = opts[:suite] if opts[:suite] end