exe/benchmark_driver in benchmark_driver-0.2.1 vs exe/benchmark_driver in benchmark_driver-0.2.2
- old
+ new
@@ -18,10 +18,10 @@
options[:measure_type] = 'ips'
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
+ options[:measure_num] = Integer(l) if l
end
o.on('-v', '--verbose') do |v|
options[:verbose] = v
end
end.parse!(ARGV)