LoginSignup
8
7

More than 5 years have passed since last update.

wrkでhttpのベンチマークをするメモ

Posted at

[参考]
http://memo.yomukaku.net/entries/kYIVkXx

1.インストール

cd /usr/local/src
git clone https://github.com/wg/wrk.git
cd wrk
make
cp wrk /usr/local/bin/wrk

2.試験方法

wrk --version
wrk -t 4 -c 100 -d 10 https://hogehoge.com

結果
shell-session
Running 10s test @ https://hogehoge.com
4 threads and 100 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 2.02s 1.41s 3.87s 49.30%
Req/Sec 10.23 3.20 21.00 65.12%
398 requests in 10.00s, 6.09MB read
Socket errors: connect 0, read 0, write 0, timeout 161

8
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
7