Skip to content

Instantly share code, notes, and snippets.

@fredrick
Created June 27, 2011 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredrick/1049776 to your computer and use it in GitHub Desktop.
Save fredrick/1049776 to your computer and use it in GitHub Desktop.
Apache Bench: Varnish 2.1 + nginx 1.0 on t1.micro (x64)
$ ab -n 1000 -c 250 http://ec2-xx-xx-xx-xx.compute-1.amazonaws.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking ec2-xx-xx-xx-xx.compute-1.amazonaws.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software: nginx
Server Hostname: ec2-xx-xx-xx-xx.compute-1.amazonaws.com
Server Port: 80
Document Path: /
Document Length: 214 bytes
Concurrency Level: 250
Time taken for tests: 0.687 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 456820 bytes
HTML transferred: 214856 bytes
Requests per second: 1454.82 [#/sec] (mean)
Time per request: 171.842 [ms] (mean)
Time per request: 0.687 [ms] (mean, across all concurrent requests)
Transfer rate: 649.02 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 59 68 8.4 65 99
Processing: 59 66 2.8 65 78
Waiting: 59 66 2.8 65 77
Total: 119 134 10.6 131 174
Percentage of the requests served within a certain time (ms)
50% 131
66% 132
75% 133
80% 135
90% 152
95% 161
98% 173
99% 173
100% 174 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment