??????????????????????????????????loadrunner??????????????????????е???Щ????????????ApacheBench???????С????????ü???Ч????????????????lr?????????????????.
??????????????????
????1?????????Requests per second??
????????????????????????????????????λ??reqs/s????????????????????μ?λ??????????????????????????????μ?λ?????????????????????????????????
?????????????????????????????????仰?????????????壬1?????????????????????2????????????????£?????????????????
???????????????????  / ?????????Щ??????????????????
????Request per second = Complete requests  / Time taken for tests
????2??????????????The number of concurrent connections??
??????????????????????????????????????????????????????????????
????3?????????????The number of concurrent users??Concurrency Level??
??????????????????????????????????????????????????????????????????????????HTTP/1.1?£?IE7????????????????IE8???6???????????FireFox3???4???????????????????????????????????ó????????????
??????????????????????????????
???????в???
?????????100???????10??????????:ApacheBench -n100 -c10 http://uri
???????н??

 

Benchmarking www.cnblogs.com (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
Finished 1000 requests
Server Software:
Server Hostname:        www.cnblogs.com
Server Port:            80
Document Path:          /
Document Length:        45373 bytes
Concurrency Level:      10
Time taken for tests:   45.299591 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      45679011 bytes
HTML transferred:       45373000 bytes
Requests per second:    22.08 [#/sec] (mean)
Time per request:       452.996 [ms] (mean)
Time per request:       45.300 [ms] (mean?? across all concurrent requests)
Transfer rate:          984.73 [Kbytes/sec] received
Connection Times (ms)
min  mean[+/-sd] median   max
Connect:       26   44 189.5     31    3035
Processing:    89  405 583.3    284    5190
Waiting:       30  143 344.6     97    5031
Total:        116  450 611.7    315    5224
Percentage of the requests served within a certain time (ms)
50%    315
66%    322
75%    331
80%    343
90%    408
95%    549
98%   3333
99%   3375
  5224 (longest request)