From 31ea259624a5ff56ad081d79f2ff219c66bbe8b9 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 27 Dec 2013 10:19:48 +1100 Subject: [PATCH] extend bench somewhat --- script/bench.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/bench.rb b/script/bench.rb index a94f3ec1e73..9bd461570e6 100644 --- a/script/bench.rb +++ b/script/bench.rb @@ -126,7 +126,7 @@ def bench(path) puts "Running apache bench warmup" `ab -n 100 "http://127.0.0.1:#{@port}#{path}"` puts "Benchmarking #{path}" - `ab -n 100 -e tmp/ab.csv "http://127.0.0.1:#{@port}#{path}"` + `ab -n 500 -e tmp/ab.csv "http://127.0.0.1:#{@port}#{path}"` percentiles = Hash[*[50, 75, 90, 99].zip([]).flatten] CSV.foreach("tmp/ab.csv") do |percent, time|