Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (23 loc) · 1.03 KB

Spwn

An HTTP benchmarking program inspired by wrk and Siege.

Build Status Build status

My motivation

I primarily developed this tool to play with Rust and Tokio.

Features

  • User-configurable number of concurrent connections
  • User-configurable number of threads to use
  • User-configurable duration to run the benchmark
  • Request count (total and per second)
  • Latency distribution

Example

The following example will fire requests, maintaining 100 connections, to localhost:8080 for 2 seconds using 4 threads.

spwn http://localhost:8080 -d2 -c100 -t4

Building

Rust Nightly 1.17 (2017-02-03) is tested.

The following will build an optimized binary.

cargo build --release