public
Created

ab bench - nginx + unicorn

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
$ ab -n 100 -c 100 http://mba.local:3000/This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
 
Benchmarking mba.local (be patient).....done
 
 
Server Software: nginx/1.2.3
Server Hostname: mba.local
Server Port: 3000
 
Document Path: /
Document Length: 172 bytes
 
Concurrency Level: 100
Time taken for tests: 1.692 seconds
Complete requests: 100
Failed requests: 68
(Connect: 0, Receive: 0, Length: 68, Exceptions: 0)
Write errors: 0
Non-2xx responses: 32
Total transferred: 420036 bytes
HTML transferred: 373112 bytes
Requests per second: 59.12 [#/sec] (mean)
Time per request: 1691.523 [ms] (mean)
Time per request: 16.915 [ms] (mean, across all concurrent requests)
Transfer rate: 242.50 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 2 0.5 2 3
Processing: 3 613 575.7 489 1688
Waiting: 3 613 575.6 489 1688
Total: 5 614 575.7 491 1690
 
Percentage of the requests served within a certain time (ms)
50% 491
66% 890
75% 1112
80% 1288
90% 1464
95% 1605
98% 1687
99% 1690
100% 1690 (longest request)
 
 
##############################
 
 
$ ab -n 1000 -c 1000 http://mba.local:3000/This is ApacheBench, Version 2.3 <$Revision: 1178079 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
 
Benchmarking mba.local (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/1.2.3
Server Hostname: mba.local
Server Port: 3000
 
Document Path: /
Document Length: 192 bytes
 
Concurrency Level: 1000
Time taken for tests: 1.773 seconds
Complete requests: 1000
Failed requests: 953
(Connect: 0, Receive: 0, Length: 953, Exceptions: 0)
Write errors: 0
Non-2xx responses: 932
Total transferred: 712146 bytes
HTML transferred: 528852 bytes
Requests per second: 564.01 [#/sec] (mean)
Time per request: 1773.033 [ms] (mean)
Time per request: 1.773 [ms] (mean, across all concurrent requests)
Transfer rate: 392.24 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 21 30 5.2 29 38
Processing: 19 121 259.3 61 1733
Waiting: 18 121 259.3 61 1733
Total: 54 151 260.6 89 1769
 
Percentage of the requests served within a certain time (ms)
50% 89
66% 110
75% 119
80% 125
90% 132
95% 609
98% 1363
99% 1590
100% 1769 (longest request)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.