Hysen Labs
Open-source project
wg/wrk avatar
wg

wrk

GitHub describes it as Modern HTTP benchmarking tool. The repository metadata lists C as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

40,387 stars3,030 forksCNOASSERTION
01
DEEP OPEN-SOURCE ANALYSIS

wg/wrk: wrk - a HTTP benchmarking tool

GitHub describes it as Modern HTTP benchmarking tool. The repository metadata lists C as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as Modern HTTP benchmarking tool. The repository metadata lists C as its primary language. The metadata lists the NOASSERTION license. The README describes the project this way: wrk is a modern HTTP benchmarking tool capable of generating significant load when run on a single multi-core CPU. It combines a multithreaded design with scalable event notification systems such as epoll and kqueue.

03
DEEP OPEN-SOURCE ANALYSIS

wrk - a HTTP benchmarking tool

The README section "wrk - a HTTP benchmarking tool" states: An optional LuaJIT script can perform HTTP request generation, response processing, and custom reporting. Details are available in SCRIPTING and several examples are located in scripts/.

04
DEEP OPEN-SOURCE ANALYSIS

Basic Usage

The README section "Basic Usage" states: This runs a benchmark for 30 seconds, using 12 threads, and keeping 400 HTTP connections open.

05
DEEP OPEN-SOURCE ANALYSIS

Basic Usage

The README section "Basic Usage" states: Running 30s test @ http://127.0.0.1:8080/index.html 12 threads and 400 connections Thread Stats Avg Stdev Max +/- Stdev Latency 635.91us 0.89ms 12.92ms 93.69% Req/Sec 56.20k 8.07k 62.00k 86.54% 22464657 requests in 30.00s, 17.76GB read Requests/sec: 748868.53 Transfer/sec: 606.33MB

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes