HTTP性能测试(apache ab)
来源:互联网 发布:手机知乎怎么匿名回答 编辑:程序博客网 时间:2024/05/21 07:51
使用Apache ab 做网站的性能测试,下边是测试结果分析:
安装Apache ab 后,可以在CMD输入ab -n1000 -c10 http://101.200../来测试想要测试的站点。
D:\Program Files (x86)\apache ab>ab -n1000 -c10 http://101.200.*.*/This is ApacheBench, Version 2.3 <$Revision: 655654 $>Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/Licensed to The Apache Software Foundation, http://www.apache.org/Benchmarking 101.200.*.* (be patient)Completed 100 requestsCompleted 200 requestsCompleted 300 requestsCompleted 400 requestsCompleted 500 requestsCompleted 600 requestsCompleted 700 requestsCompleted 800 requestsCompleted 900 requestsCompleted 1000 requestsFinished 1000 requestsServer Software: Apache-Coyote/1.1Server Hostname: 101.200.*.* ##请求主机Server Port: 80 ##请求端口Document Path: / ##请求URL地址Document Length: 714 bytes ##http响应正文的长度Concurrency Level: 10 ##并发数Time taken for tests: 36.495 seconds ##所有请求完成时间Complete requests: 1000 ##完成请求数量Failed requests: 1 ##失败的请求数量 (Connect: 1, Receive: 0, Length: 0, Exceptions: 0)Write errors: 0Total transferred: 1024070 bytes ##整个过程中网络传输量HTML transferred: 714000 bytes ##整个过程HTML传输量Requests per second: 27.40 [#/sec] (mean) ##重要指标,服务器吞吐率Time per request: 364.949 [ms] (mean) ##用户平均请求等待时间Time per request: 36.495 [ms] (mean, across all concurrent requests) ##每个平均请求实际运行平均值Transfer rate: 27.40 [Kbytes/sec] received ##表示请求单位时间内流量Connection Times (ms) min mean[+/-sd] median maxConnect: 3 14 164.1 6 3009Processing: 7 327 2036.4 56 21064Waiting: 5 223 1784.8 33 21057Total: 14 341 2041.8 62 21070##统计用户等待时间Percentage of the requests served within a certain time (ms) 50% 62 66% 64 75% 66 80% 66 90% 71 95% 75 98% 3064 99% 3350 100% 21070 (longest request)
此为学习笔记
0 0
- HTTP性能测试(apache ab)
- ab - Apache HTTP服务器性能测试工具
- ab - Apache HTTP服务器性能测试工具
- HTTP性能测试工具 Apache ab
- Apache ab性能测试
- Apache ab 网页性能测试
- Apache性能测试工具ab
- 压力 性能 测试 工具 ab (apache benchmark) jmeter
- apache的ab性能测试工具
- Apache之性能测试工具ab小解
- apache性能测试工具ab使用详解
- web性能测试:apache benchmark(ab)
- apache性能测试工具ab使用详解
- apache性能测试工具ab使用详解
- apache性能测试工具ab使用详解
- 简单的性能测试 | Apache AB
- apache性能测试工具ab使用详解
- apache性能测试工具ab使用详解
- 我的YUV播放器MFC小笔记:解析文件名称
- 【JSOI2008】【BZOJ1036】【LCT版】树的统计Count
- UML之类图
- 用工具测试游戏的平衡性-简单的打架机器人编写
- 【模板整合】LCT模板
- HTTP性能测试(apache ab)
- kmalloc/kfree,vmalloc/vfree函数用法和区别
- 关于sql中的简单语句
- 使用FDTemplateLayout框架打造个性App
- chmod u+s用法和setuid(),seteuid()
- EAX、ECX、EDX、EBX寄存器的作用
- redis源码阅读[3]
- Hadoop 2.2.0 伪分布环境搭建
- UINavigationController