public
Created

ab bench - thin

  • 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
$ 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: thin
Server Hostname: mba.local
Server Port: 3000
 
Document Path: /
Document Length: 5406 bytes
 
Concurrency Level: 100
Time taken for tests: 2.470 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 601000 bytes
HTML transferred: 540600 bytes
Requests per second: 40.48 [#/sec] (mean)
Time per request: 2470.368 [ms] (mean)
Time per request: 24.704 [ms] (mean, across all concurrent requests)
Transfer rate: 237.58 [Kbytes/sec] received
 
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 2 0.4 2 3
Processing: 1811 2062 242.9 2106 2466
Waiting: 906 1549 561.3 1812 2466
Total: 1814 2063 242.6 2107 2468
 
Percentage of the requests served within a certain time (ms)
50% 2107
66% 2107
75% 2108
80% 2445
90% 2468
95% 2468
98% 2468
99% 2468
100% 2468 (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)
apr_socket_recv: Connection refused (61)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.