exe/benchmark_driver in benchmark_driver-0.2.2 vs exe/benchmark_driver in benchmark_driver-0.2.3

- old
+ new

@@ -12,9 +12,13 @@ options[:execs] ||= [] e.split(/;/).each do |path| options[:execs] << path end end + o.on('-r', '--rbenv [VERSION]', 'Ruby executable in rbenv') do |r| + options[:execs] ||= [] + options[:execs] << "#{r}::RBENV_VERSION='#{r}' ruby" + 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] = 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|