I've used wrk
in my MacBook Pro to make some comparative performance tests between several web frameworks.
The test is done with Hello World
examples and the following wrk
settings:
wrk -t12 -c400 -d30s http://localhost:3000
-- number of requests in 30 secs
- Hyper [3.751.419] - 124.974 req/sec
- Warp [3.609.731] - 120.261 req/sec
- Thruster [3.125.449] - 103.829 req/sec
- Tower-web [3.112.701] - 103.748 req/sec
- Gotham [3.211.659] - 106.687 req/sec
- Actix-web [3.027.716] - 100.577 req/sec
- Tide [2.963.410] - 98.759 req/sec
- Rocket [16.721] - 555.86 req/sec
- Echo [2.526.339] - 84.166 req/sec
- No Framework [2.521.932] - 84.026 req/sec
- .NET Core 3.1.101 [1.989.339] - 66.252 req/sec