A simple benchmarking between other web frameworks and router implementation libraries.
I used wrk to test these http servers:
$ wrk --latency -t4 -c200 -d8s http://127.0.0.1:8081
I ran all those tests on:
MacBook Pro, 2.2 GHz Intel Core i7 processor with 4 cores, 16GB of RAM
Framework | Language | Requests/sec |
---|---|---|
hyper v0.14 | Rust 1.50.0 | 144,583 |
routerify v2.0.0-beta-4 with hyper v0.14 | Rust 1.50.0 | 144,621 |
actix-web v3 | Rust 1.50.0 | 131,292 |
warp v0.3 | Rust 1.50.0 | 145,362 |
go-httprouter, branch master | Go 1.16 | 130,662 |
Rocket, branch master | Rust 1.50.0 | 130,045 |
Your PRs and suggestions are always welcome.