A docker image for popular HTTP benchmarking tool WRK.
Find all options and how to run:
$ docker run --rm cloudadc/wrk:0.1 wrk
invalid URL: wrk
Usage: wrk <options> <url>
Options:
-c, --connections <N> Connections to keep open
-d, --duration <T> Duration of test
-t, --threads <N> Number of threads to use
-s, --script <S> Load Lua script file
-H, --header <H> Add header to request
--latency Print latency statistics
--timeout <T> Socket/request timeout
-v, --version Print version details
Numeric arguments may include a SI unit (1k, 1M, 1G)
Time arguments may include a time unit (2s, 2m, 2h)
A sample of HTTP benchmarking:
$ docker run --rm cloudadc/wrk:0.1 -t 4 -c 10 -d 30s https://ksoong.org
Running 30s test @ https://ksoong.org
4 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 730.90ms 370.23ms 2.00s 83.00%
Req/Sec 2.52 2.56 10.00 90.50%
213 requests in 30.03s, 7.67MB read
Socket errors: connect 0, read 1, write 0, timeout 13
Requests/sec: 7.09
Transfer/sec: 261.55KB
Content type
Image
Digest
sha256:481383176…
Size
4.2 MB
Last updated
almost 3 years ago
docker pull cloudadc/wrk:0.1