Created
March 27, 2012 06:36
-
-
Save tinbotu/2213361 to your computer and use it in GitHub Desktop.
ab
This file contains hidden or 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
静的ファイル | |
kuma@matshita:~$ ab -n1000 -c50 http://192.168.20.10/static | |
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 192.168.20.10 (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: Apache/2.2.22 | |
Server Hostname: 192.168.20.10 | |
Server Port: 80 | |
Document Path: /static | |
Document Length: 7 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 0.672 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 257000 bytes | |
HTML transferred: 7000 bytes | |
Requests per second: 1488.84 [#/sec] (mean) | |
Time per request: 33.583 [ms] (mean) | |
Time per request: 0.672 [ms] (mean, across all concurrent requests) | |
Transfer rate: 373.66 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.5 0 3 | |
Processing: 2 32 4.1 33 43 | |
Waiting: 2 32 4.0 32 40 | |
Total: 5 33 3.7 33 43 | |
Percentage of the requests served within a certain time (ms) | |
50% 33 | |
66% 33 | |
75% 34 | |
80% 34 | |
90% 35 | |
95% 36 | |
98% 38 | |
99% 39 | |
100% 43 (longest request) | |
文字列を返すだけの apache モジュール | |
kuma@matshita:~$ ab -n1000 -c50 http://192.168.20.10/ya | |
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 192.168.20.10 (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: Apache/2.2.22 | |
Server Hostname: 192.168.20.10 | |
Server Port: 80 | |
Document Path: /ya | |
Document Length: 34 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 0.621 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 184000 bytes | |
HTML transferred: 34000 bytes | |
Requests per second: 1610.24 [#/sec] (mean) | |
Time per request: 31.051 [ms] (mean) | |
Time per request: 0.621 [ms] (mean, across all concurrent requests) | |
Transfer rate: 289.34 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.5 0 3 | |
Processing: 2 30 3.9 30 39 | |
Waiting: 2 29 3.9 30 39 | |
Total: 5 30 3.6 30 39 | |
Percentage of the requests served within a certain time (ms) | |
50% 30 | |
66% 31 | |
75% 32 | |
80% 32 | |
90% 33 | |
95% 34 | |
98% 35 | |
99% 35 | |
100% 39 (longest request) | |
kuma@matshita:~$ | |
kuma@matshita:~$ | |
kuma@matshita:~$ | |
文字列を返すだけの php | |
kuma@matshita:~$ ab -n1000 -c50 http://192.168.20.10/ya.php | |
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 192.168.20.10 (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: Apache/2.2.22 | |
Server Hostname: 192.168.20.10 | |
Server Port: 80 | |
Document Path: /ya.php | |
Document Length: 15 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 1.001 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 165000 bytes | |
HTML transferred: 15000 bytes | |
Requests per second: 998.51 [#/sec] (mean) | |
Time per request: 50.075 [ms] (mean) | |
Time per request: 1.001 [ms] (mean, across all concurrent requests) | |
Transfer rate: 160.89 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.5 0 3 | |
Processing: 2 48 6.7 49 67 | |
Waiting: 2 48 6.6 48 66 | |
Total: 5 49 6.3 49 67 | |
Percentage of the requests served within a certain time (ms) | |
50% 49 | |
66% 50 | |
75% 51 | |
80% 52 | |
90% 54 | |
95% 56 | |
98% 59 | |
99% 61 | |
100% 67 (longest request) | |
kuma@matshita:~$ | |
kuma@matshita:~$ | |
kuma@matshita:~$ | |
文字列を返すだけの、Cで書いたふつうの CGI | |
kuma@matshita:~$ ab -n1000 -c50 http://192.168.20.10/ya.cgi | |
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 192.168.20.10 (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: Apache/2.2.22 | |
Server Hostname: 192.168.20.10 | |
Server Port: 80 | |
Document Path: /ya.cgi | |
Document Length: 18 bytes | |
Concurrency Level: 50 | |
Time taken for tests: 3.791 seconds | |
Complete requests: 1000 | |
Failed requests: 0 | |
Write errors: 0 | |
Total transferred: 149660 bytes | |
HTML transferred: 18000 bytes | |
Requests per second: 263.79 [#/sec] (mean) | |
Time per request: 189.544 [ms] (mean) | |
Time per request: 3.791 [ms] (mean, across all concurrent requests) | |
Transfer rate: 38.55 [Kbytes/sec] received | |
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 0 0.5 0 4 | |
Processing: 23 187 32.8 184 303 | |
Waiting: 22 183 32.5 179 303 | |
Total: 25 187 32.6 184 303 | |
Percentage of the requests served within a certain time (ms) | |
50% 184 | |
66% 191 | |
75% 198 | |
80% 201 | |
90% 218 | |
95% 250 | |
98% 283 | |
99% 290 | |
100% 303 (longest request) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment