elswork/wrk
A Docker file to build WRK a HTTP benchmarking tool capable of generating significant load
3.1K
A Docker file to build wrk a HTTP benchmarking tool capable of generating significant load when run on a single multi-core CPU.
Be aware! You should read carefully the usage documentation of every tool!
Website | GitHub | Docker Hub |
---|---|---|
Deft.Work my personal blog | wrk | wrk |
This image has been builded using buildx for these architectures:
docker run --rm elswork/wrk \
-t4 -c10 -d30s https://www.theworldsworstwebsiteever.com/
or
make start PARAM=" -t4 -c10 -d30s https://www.theworldsworstwebsiteever.com/"
OPTIONALLY you can use these parameters before site URL: -c, --connections: total number of HTTP connections to keep open with each thread handling N = connections/threads
-d, --duration: duration of the test, e.g. 2s, 2m, 2h
-t, --threads: total number of threads to use
-s, --script: LuaJIT script, see SCRIPTING
-H, --header: HTTP header to add to request, e.g. "User-Agent: wrk"
--latency: print detailed latency statistics
--timeout: record a timeout if a response is not received within
this amount of time.
docker run --rm -v ${CURDIR}/scripts/:/data \
elswork/wrk -s delay.lua https://www.theworldsworstwebsiteever.com/
or
make script PARAM=" -s delay.lua https://www.theworldsworstwebsiteever.com/"
You can user your own LuaJIT script writting it in /scripts/ folder where you'll find some examples.
Sponsor me! Together we will be unstoppable.
Other ways to fund me:
docker pull elswork/wrk