8000 GitHub - firnsan/minihttp: A simple HTTP server for benchmarking async runtimes
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

firnsan/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
M 4369 IT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%
0