HUB
Sign inSign up

tullo/wrk2

By tullo

•Updated almost 8 years ago

wrk2 load generator - a multi-threaded tool for measuring latency of HTTP web servers

Image
0

2.0K

tullo/wrk2 repository overview

⁠dockerized wrk2 load generator

⁠Build image using buildkit

DOCKER_BUILDKIT=1 docker build -t wrk2-docker .

⁠Generate load - e.g. for 30 secconds

docker run --rm wrk2-docker -t2 -c100 -d30s -R18000 --latency http://172.17.0.1/index.html

⁠Save resulting report for later processing with wrk2img

docker run -it --rm -v $(pwd):/root wrk2-docker -t2 -c100 -d30s -R18000 --latency http://172.17.0.1/index.html > R18000

Pipe the genrated file into wrk2img for a graphical representation of the observed latency

cat R18000 | wrk2img output.png

⁠Credit

Tag summary
Recent tags
Content type
Image
Digest
Size
10.5 MB
Last updated
almost 8 years ago
docker pull tullo/wrk2:latest