linux- wrk 测试并发工具

https://github.com/wg/wrk

 


apt install unzip -y
apt-get install build-essential libssl-dev git -y
apt install make
git clone https://github.com/wg/wrk.git
cd wrk/
make
cp wrk /usr/local/bin

 

 

 

 

 


wrk -t12 -c400 -d30s --latency http://www.sina.com


This runs a benchmark for 30 seconds, using 12 threads, and keeping 400 HTTP connections open.

 

上一篇:mixin和页面执行顺序问题


下一篇:常用的HTTP服务压测工具介绍