lib/benchmark/http/statistics.rb in benchmark-http-0.8.2 vs lib/benchmark/http/statistics.rb in benchmark-http-0.9.0
- old
+ new
@@ -142,10 +142,10 @@
end
private
def confident?(factor)
- if @samples.size > @concurrency
+ if @samples.size > @concurrency * 10
return self.standard_error < (self.average * factor)
end
return false
end