Skip to content

Instantly share code, notes, and snippets.

@kennethreitz
Created January 16, 2012 19:42
Show Gist options
  • Select an option

  • Save kennethreitz/1622580 to your computer and use it in GitHub Desktop.

Select an option

Save kennethreitz/1622580 to your computer and use it in GitHub Desktop.
gunicorn + gevent
root@jenkins:~# ab -k -n 10000 -c 300 http://kennethreitz.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 kennethreitz.com (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software: gunicorn/0.13.4
Server Hostname: kennethreitz.com
Server Port: 80
Document Path: /
Document Length: 9984 bytes
Concurrency Level: 300
Time taken for tests: 5.945 seconds
Complete requests: 10000
Failed requests: 2
(Connect: 0, Receive: 0, Length: 2, Exceptions: 0)
Write errors: 0
Non-2xx responses: 2
Keep-Alive requests: 7733
Total transferred: 101939947 bytes
HTML transferred: 99821246 bytes
Requests per second: 1682.08 [#/sec] (mean)
Time per request: 178.351 [ms] (mean)
Time per request: 0.595 [ms] (mean, across all concurrent requests)
Transfer rate: 16745.22 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 45.5 0 3051
Processing: 44 165 128.5 140 5368
Waiting: 41 147 113.9 127 5228
Total: 44 174 137.6 147 5368
Percentage of the requests served within a certain time (ms)
50% 147
66% 180
75% 202
80% 217
90% 272
95% 321
98% 414
99% 600
100% 5368 (longest request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment