Apache HTTP server benchmarking tool
20個連線,3次同時連線
ab -n 20 -c 3 http://tw.yahoo.com/
結果
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 1997-2005 The Apache Software Foundation, http://www.apache.org/Benchmarking tw.yahoo.com (be patient)…..done
Server Software:
Server Hostname: tw.yahoo.com
Server Port: 80Document Path: /
Document Length: 114864 bytes
Concurrency Level: 3
Time taken for tests: 3.600281 seconds
Complete requests: 20
Failed requests: 19
(Connect: 0, Length: 19, Exceptions: 0)
Write errors: 0
Total transferred: 2306494 bytes
HTML transferred: 2299514 bytes
Requests per second: 5.56 [#/sec] (mean)
Time per request: 540.042 [ms] (mean)
Time per request: 180.014 [ms] (mean, across all concurrent requests)
Transfer rate: 625.51 [Kbytes/sec] receivedConnection Times (ms)
min mean[+/-sd] median max
Connect: 23 32 12.0 26 66
Processing: 211 465 301.8 374 1622
Waiting: 32 63 27.5 63 153
Total: 247 498 307.5 403 1688Percentage of the requests served within a certain time (ms)
50% 403
66% 443
75% 544
80% 584
90% 771
95% 1688
98% 1688
99% 1688
100% 1688 (longest request)
留言