top | item 23344222

(no title)

lordnaikon | 5 years ago

What was the result of your benchmark – just a ballpark number would be great on what to expect from the async version.

discuss

order

plainOldText|5 years ago

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.