apache bench的响应时间

时间:2013-12-19 11:10:18

标签: performance apachebench

哪个字段是apache bench结果中的最大响应时间和最小响应时间以及平均响应时间?

这是一个例子。在apache bentch结果中,“每个请求的时间”是689.946

Time per request:       689.946 [ms] (mean)

我认为,

"Time per request" = average response time 
min "Total" = smallest response time
max "Total" = largest response time

但是,为什么“每次请求的时间(689.946)”大于最大总数(最长请求680)?

Concurrency Level:      1000
Time taken for tests:   0.690 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      355000 bytes
HTML transferred:       7000 bytes
Requests per second:    1449.39 [#/sec] (mean)
Time per request:       689.946 [ms] (mean)
Time per request:       0.690 [ms] (mean, across all concurrent requests)
Transfer rate:          502.47 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0   10  11.8      0      30
Processing:     7  110 186.3     19     658
Waiting:        6  110 186.4     19     658
Total:          9  120 194.1     20     680

Percentage of the requests served within a certain time (ms)
  50%     20
  66%     54
  75%    243
  80%    248
  90%    254
  95%    675
  98%    678
  99%    679
 100%    680 (longest request)

“每次请求的时间”和“总平均值”,哪一个应该是平均响应时间?

感谢。

0 个答案:

没有答案