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.
plainOldText|5 years ago
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.