349196e566719c2b5214800b89207aaf1aba164f
Adds a benchmark for testing the speed of hyper's server. Due to limitations of rust-http, `cargo bench` now needs to be killed after running because there is no way to kill a rust-http server after you start it.
hyper
An HTTP library for Rust.
Scientific* Benchmarks
running 3 tests
test bench_curl ... bench: 234539 ns/iter (+/- 22228)
test bench_http ... bench: 290370 ns/iter (+/- 69179)
test bench_hyper ... bench: 224482 ns/iter (+/- 95197)
test result: ok. 0 passed; 0 failed; 0 ignored; 3 measured
* No science was harmed in this benchmark.
License
Languages
Rust
94.5%
C
5.2%
Shell
0.3%