Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (19 sloc) 967 Bytes

minihttp

This is a fork of tokio-minihttp ported to async-std and updated to to the latest version of tokio.

Note that tokio-minihttp is at the top of TechEmpower benchmarks.

This benchmark compares the performance of async runtimes at serving HTTP.

Usage

Start an async-std or tokio server by running one of the following two commands:

  • cargo run --release --example async-std
  • cargo run --release --example tokio

Start a benchmark by using either autocannon or wrk:

  • autocannon 0.0.0.0:8080/plaintext
  • wrk -t1 -c50 -d10 http://0.0.0.0:8080/plaintext
You can’t perform that action at this time.