-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I benchmarked Rocket framework, its result is SHOCKING 😱😞 #1250
Comments
There was a similar discussion on reddit with the async features (https://reddit.app.link/8AGkZT2Zy4). Cursory look seems to have the same order of magnitude differences. |
Closing as a duplicate of #799, #834, #1023, #1038. Any comparison between an 0.5 (today the |
@jebrosen , I also did the same benchmark with |
Sure, I can share these results as a sanity check. Both were run with hyper (
rocket (
The different number of requests despite the same transfer rate probably has to do with the Rocket server sending an additional |
Questions
I benchmarked it with other frameworks e.g.
gotham
,hyper
andactix-web
andRocket
's result was not expected at all.hyper
: Requests/sec:112557.51
and Latency:1.77ms
gotham
: Requests/sec:100097.73
and Latency:1.98ms
actix-web
: Requests/sec:96397.31
and Latency:2.06ms
Rocket
: Requests/sec:2041.93
😱 and Latency:3.37ms
See?
For
Rocket
, it just2k/sec
wherehyper
orgotham
are112k/sec
and100k/sec
.For the benchmark codebase, please visit: https://github.com/rousan/rust-web-frameworks-benchmark.
And correct me, if I am not using it correctly.
The text was updated successfully, but these errors were encountered: