Skip to content

A simple HTTP server for benchmarking async runtimes

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

yar999/minihttp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple HTTP server for benchmarking async runtimes

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages