wrk
HTTP benchmarking tool. More information: <https://github.com/wg/wrk>.
Install
- All systems
-
curl cmd.cat/wrk.sh
- Debian
-
apt-get install wrk - Ubuntu
-
apt-get install wrk -
Alpine
-
apk add wrk - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install wrk - OS X
-
brew install wrk - Raspbian
-
apt-get install wrk - Docker
-
docker run cmd.cat/wrk wrkpowered by Commando
HTTP benchmarking tool. More information: <https://github.com/wg/wrk>.
-
Run a benchmark for `30` seconds, using `12` threads, and keeping `400` HTTP connections open:
wrk -t12 -c400 -d30s "http://127.0.0.1:8080/index.html" -
Run a benchmark with a custom header:
wrk -t2 -c5 -d5s -H "Host: example.com" "http://example.com/index.html" -
Run a benchmark with a request timeout of `2` seconds:
wrk -t2 -c5 -d5s --timeout 2s "http://example.com/index.html"
© tl;dr; authors and contributors