wrk2
Install latest/stable of wrk2
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Details for wrk2
Package name
- wrk2
License
- Apache-2.0
Last updated
- 25 April 2025 - latest/stable
- 24 April 2025 - latest/beta
Websites
Source code
Report a bug
External link warning
You are about to open
Do you wish to proceed?
Report a Snap Store violation
Report wrk2 for a Snap Store violation
Snap Store Violation Report submitted successfully
Thank you for your report. Information you provided will help us investigate further.
Error submitting report
There was an error while sending your report. Please try again later.
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
| Revision | Channel | Version | Build | Commit | Download SBOM |
|---|
The build and commit information is derived from build infrastructure records.
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.