xiaobaoqiu@xiaobaoqiu:~/octopress/source/images/io$ ab -V
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
xiaobaoqiu@xiaobaoqiu:~/octopress/source/images/io$ ab -n 10 -c 2 -s 10 http://xiaobaoqiu.github.io/
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking xiaobaoqiu.github.io (be patient).....done
Server Software: GitHub.com
Server Hostname: xiaobaoqiu.github.io
Server Port: 80
Document Path: /
Document Length: 287269 bytes
Concurrency Level: 2
Time taken for tests: 20.788 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 2877109 bytes
HTML transferred: 2872690 bytes
Requests per second: 0.48 [#/sec] (mean)
Time per request: 4157.564 [ms] (mean) #每个请求的时间
Time per request: 2078.782 [ms] (mean, across all concurrent requests)
Transfer rate: 135.16 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 59 402 717.5 94 2234
Processing: 362 3674 3112.7 3479 8508
Waiting: 60 164 132.8 100 407
Total: 422 4076 3420.4 3558 8602
Percentage of the requests served within a certain time (ms)
50% 3558 #50%的请求响应时间小于3558毫秒
66% 7110
75% 7312
80% 8544
90% 8602
95% 8602
98% 8602
99% 8602
100% 8602 (longest request) #请求的最长响应时间为8602毫秒