首页 > 代码库 > 性能测试时
性能测试时
一、默认配置AB压力测试
官方nginx/1.10.3 测试结果:
Server Software: nginx/1.10.3 Server Hostname: 127.0.0.1 Server Port: 80 Document Path: / Document Length: 612 bytes Concurrency Level: 100 Time taken for tests: 4.226 seconds -- 表示所有这些请求被处理完成所花费的总时间 Complete requests: 100000 Failed requests: 0 Keep-Alive requests: 99004 Total transferred: 84995020 bytes HTML transferred: 61200000 bytes Requests per second: 23665.05 [#/sec] (mean) -- 吞吐率,大家最关心的指标之一,相当于 LR 中的每秒事务数,后面括号中的 mean 表示这是一个平均值 Time per request: 4.226 [ms] (mean) -- 用户平均请求等待时间,大家最关心的指标之二,相当于 LR 中的平均事务响应时间,后面括号中的 mean 表示这是一个平均值 Time per request: 0.042 [ms] (mean, across all concurrent requests) --服务器平均请求处理时间,大家最关心的指标之三 Transfer rate: 19642.69 [Kbytes/sec] received
openresty/1.11.2.1测试结果:
Server Software: openresty/1.11.2.1 Server Hostname: 127.0.0.1 Server Port: 80 Document Path: / Document Length: 558 bytes Concurrency Level: 100 Time taken for tests: 3.469 seconds Complete requests: 100000 Failed requests: 0 Keep-Alive requests: 99049 Total transferred: 80195245 bytes HTML transferred: 55800000 bytes Requests per second: 28830.41 [#/sec] (mean) Time per request: 3.469 [ms] (mean) Time per request: 0.035 [ms] (mean, across all concurrent requests) Transfer rate: 22578.73 [Kbytes/sec] received
性能测试时
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。