apache bench的响应时间

 Amy0807520 发布于 2023-02-09 11:34

哪个字段是最大响应时间和最小响应时间以及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)

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

谢谢.

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有