Web

wrk – HTTP benchmarking tool

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.

An optional LuaJIT script can perform HTTP request generation, response processing, and custom reporting.

This is free and open source software.

Website: github.com/wg/wrk
Support:
Developer: Will Glozer and many others
License: Modified Apache 2.0 License

Example command:

$ wrk -t12 -c400 -d30s http://127.0.0.1:8080/index.html

This runs a benchmark for 30 seconds, using 12 threads, and keeping 400 HTTP connections open.

Output:

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

wrk is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Web Server Benchmarking Tools
LocustEasy to use, scriptable and scalable performance testing tool
Apache JMeterLoad testing and performance measurement application
k6Modern load testing tool for developers and testers in the DevOps era
wrkModern HTTP benchmarking tool
SiegeHTTP regression testing and benchmarking utility
AutoCannonFast HTTP/1.1 benchmarking tool
TsungMulti-protocol distributed load testing tool
bombardierUses fasthttp instead of Go’s default http library,
ApacheBenchApache (and other web servers) benchmark tool
CassowaryModern HTTP/S, intuitive & cross-platform load testing tool built in Go
DrillHTTP load testing application written in Rust
httperfHTTP load generator
FunkLoadWeb testing tool in the same spirit as Perl's WWW::Mechanize

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments