Created
August 9, 2012 14:25
-
-
Save orenomba/3304617 to your computer and use it in GitHub Desktop.
ab bench - thin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment