You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Timothy J Fontaine fa0ac99541 wrk: compile on sunos 11 years ago
..
deps/luajit tools: wrk update to 5b2fa06 11 years ago
scripts tools: wrk update to 5b2fa06 11 years ago
src tools: wrk update to 5b2fa06 11 years ago
.gitignore tools: wrk update to 5b2fa06 11 years ago
LICENSE tools: Add wrk for benchmarking http servers 12 years ago
Makefile wrk: compile on sunos 11 years ago
NOTICE tools: wrk update to 5b2fa06 11 years ago
README tools: wrk update to 5b2fa06 11 years ago

README

wrk - a 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. Several example scripts are located in
scripts/

Basic Usage

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

Scripting

wrk's public Lua API is:

init = function(args)
req