yar999/minihttp


A simple HTTP server for benchmarking async runtimes

License: Apache-2.0


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

Project Statistics

Sourcerank 2
Repository Size 55.7 KB
Stars 0
Forks 4
Watchers 0
Open issues disabled
Dependencies 0
Contributors 8
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Alex Crichton Stjepan Glavina Carl Lerche Aaron Turon Gokberk Yaltirakli Dan McDougall atarola Ben Goldberg

Something wrong with this page? Make a suggestion

Last synced: 2021-04-03 10:49:07 UTC

Login to resync this repository