fixed broken speed test

This commit is contained in:
Colin Surprenant 2014-03-19 23:57:25 -04:00
parent b098ff5682
commit a31421b658

View file

@ -14,7 +14,9 @@ describe "speed tests" do
output { null { } }
CONFIG
start = Time.now
agent do
puts "Rate: #{count / @duration}"
duration = (Time.now - start)
puts "Speed Rate: #{"%02.0f/sec" % (count / duration)}, Elapsed: #{duration}s"
end
end