Install latest/stable of wrk2

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install wrk2

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for wrk2

License

  • Apache-2.0

Last updated

  • 25 April 2025 - latest/stable
  • 24 April 2025 - latest/beta

Websites


Source code


Report a bug


Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

Modern HTTP benchmarking tool

wrk2 is a constant throughput, correct latency recording variant of wrk. It is a modern HTTP benchmarking tool capable of generating significant load when run on a single multi-core CPU.

Usage:

$ wrk2 -R10 -c1 -t1 -d10 https://api.example.com

The command above runs a 10 RPS workload for 10 seconds and prints a short report.

Using your custom script to load APIs:

$ wrk2 -R100 -c1 -t1 -d60 -s my_script.lua --latency https://api.example.com

The command above runs 100 RPS workload with custom logic described in my_script.lua for 60 seconds and prints a detailed latency report.

More docs are in https://github.com/alex-ramanau/wrk2


Install wrk2 on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using wrk2

Users by distribution (log)

Ubuntu 24.04
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 25.10
Fedora 43
Manjaro
Ubuntu 25.04
Debian 12
Ubuntu 18.04
Fedora 42