lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.14.11 vs lib/benchmark_driver/runner/ips.rb in benchmark_driver-0.14.12
- old
+ new
@@ -166,10 +166,10 @@
__bmdv_i += 1
end
__bmdv_after = Time.now
# second warmup
-__bmdv_ip100ms = (__bmdv_i.to_f / (__bmdv_after - __bmdv_before) / 10.0).floor
+__bmdv_ip100ms = (__bmdv_i.to_f / (__bmdv_after - __bmdv_before) / 10.0).ceil
__bmdv_loops = 0
__bmdv_duration = 0.0
__bmdv_target = Time.now + #{second_warmup_duration}
while Time.now < __bmdv_target
__bmdv_i = 0