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.
(Ownership verified)
The publisher has verified that they own this domain.
It does not guarantee the Snap is an official upload
from the upstream project.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Enable snapd
Snap can be installed on elementary OS from the command line. Open Terminal from the Applications launcher and type the following:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
Install wrk2
To install wrk2, simply use the following command: