exe/benchmark_driver in benchmark_driver-0.2.0 vs exe/benchmark_driver in benchmark_driver-0.2.1

- old
+ new

@@ -14,10 +14,10 @@ options[:execs] << path end end o.on('-i [DURATION]', '--ips [SECONDS]', "Measure IPS in duration seconds (default: #{BenchmarkDriver::DEFAULT_IPS_DURATION})") do |i| options[:measure_type] = 'ips' - options[:measure_num] = i if i + options[:measure_num] = Integer(i) if i end o.on('-l [COUNT]', '--loop-count [COUNT]', "Measure execution time with loop count (default: #{BenchmarkDriver::DEFAULT_LOOP_COUNT})") do |l| options[:measure_type] = 'loop_count' options[:measure_num] = l if l end