ab用法

./ab -c 100 -n 10000 http://127.0.0.1/index.php

-c 100 即:每次并发100个
-n 10000 即: 共发送10000个请求

分100发送过去
QPS每秒查询率 即每秒的响应请求数,也即是最大吞吐能力
Requests per second:    3105.21 [#/sec] (mean)

猜你喜欢

转载自blog.csdn.net/wuxing164/article/details/80623840
ab
今日推荐