www/web/Apache/bin/ab -n 10 -c 10 http://www.google.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 www.google.com (be patient).....done Server Software: GWS/2.1 Server Hostname: www.google.com Server Port: 80 Document Path: / Document Length: 230 bytes Concurrency Level: 10 /*整个测试持续的时间*/ Time taken for tests: 3.234651 seconds /*完成的请求数量*/ Complete requests: 10 /*失败的请求数量*/ Failed requests: 0 Write errors: 0 Non-2xx responses: 10 Keep-Alive requests: 10 /*整个场景中的网络传输量*/ Total transferred: 6020 bytes /*整个场景中的HTML内容传输量*/ HTML transferred: 2300 bytes /*相当于LR中的每秒事务数,后面括号中的mean表示这是一个平均值*/ Requests per second: 3.09 [#/sec] (mean) /*每个请求的响应时间,相当于LR中的平均事务响应时间,后面括号中的mean表示这是一个平均值*/ Time per request: 3234.651 [ms] (mean) /*每个请求的响应时间,基于并行计算*/ Time per request: 323.465 [ms] (mean, across all concurrent requests) /*平均每秒网络上的流量,可以帮助排除是否存在网络流量过大导致响应时间延长的问题*/ Transfer rate: 1.55 [Kbytes/sec] received /*网络上消耗的时间的分解*/ Connection Times (ms) min mean[+/-sd] median max Connect: 20 318 926.1 30 2954 Processing: 40 2160 1462.0 3034 3154 Waiting: 40 2160 1462.0 3034 3154 Total: 60 2479 1276.4 3064 3184 /*下面的内容为整个场景中所有请求的响应情况。在场景中每个请求都有一个响应时间,其中 50% 的用户响应时间小于 3064 毫秒,60 % 的用户响应时间小于 3094 毫秒,最大的响应时间小于 3184 毫秒*/ Percentage of the requests served within a certain time (ms) 50% 3064 66% 3094 75% 3124 80% 3154 90% 3184 95% 3184 98% 3184 99% 3184 100% 3184 (longest request) |