Re:Framework Benchmarks Round 19
by lordnaikon on Thursday May 28, 2020 @07:16PM
(#23344222)
What was the result of your benchmark – just a ballpark number would be great on what to expect from the async version.
[ Parent
| on HN ]
Re:Framework Benchmarks Round 19
by plainOldText on Thursday May 28, 2020 @07:34PM
(#23344408)
Absolute numbers vary with each machine, to the point they’re irrelevant in isolation.
However, in terms of relative performance the async version was 10x to 20x better. Bear in mind it was a simple hello world benchmark. I also disabled keep-alive. Reusing a connection gets you even better performance.
Rocket is a well designed framework, so I’d expect it to perform similarly to other rust frameworks once the async version hits master.