wrk2 icon indicating copy to clipboard operation
wrk2 copied to clipboard

Allow wrk2 to start without specifying the rate parameter

Open ol-damirm opened this issue 2 years ago • 0 comments

This solution will make it possible to run wrk2 as well as wrk. If the rate paremeter is omitted, then UINT64_MAX value will be used.


Testing done:

# run wrk2 with rate parameter:
./wrk --connections 100 --threads 2 --duration 60s <url> --rate 500000
Running 1m test @ <url here>
  2 threads and 100 connections with desired rate 500000
...

# run wrk2 without rate parameter:
./wrk --connections 100 --threads 2 --duration 60s <url>
Running 1m test @ <url here>
  2 threads and 100 connections
...

ol-damirm avatar Aug 22 '22 13:08 ol-damirm