mathiasvr / spwn

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spwn

An HTTP benchmarking program inspired by wrk and Siege.

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 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

About

License:MIT License


Languages

Language:Rust 100.0%