4 ms·
Have you tried to create a more complex web page and have the web frameworks render that as well? Sometimes being the fastest at the most trivial request isn't
by madsohm 8y ago
Have you tried to create a more complex web page and have the web frameworks render that as well? Sometimes being the fastest at the most trivial request isn't enough, if it can't handle complex request fast as well.
Also, do you have a list of speeds for the frameworks you've tested?
- steveklabnik 8y agoA lot of Rust frameworks use sync io. The first generation does because the libraries for async didn't exist yet, and Rocket doesn't because (last I heard), the author said that he didn't feel the ergonomics were there yet, and that's one of Rocket's primary goals. So that leaves Actix, Gotham, and Shio, basically. Gotham hasn't been tuned for performance at all. I haven't seen any Shio benchmarks. There are a lot though: https://github.com/flosse/rust-web-framework-comparison#server-frameworks https://github.com/flosse/rust-web-framework-comparison#serv...
- fafhrd91 8y agoFrom repo activity Shio seems dead. And here is for gotham https://gotham.rs/blog/2018/05/31/the-state-of-gotham.html https://gotham.rs/blog/2018/05/31/the-state-of-gotham.html
- steveklabnik 8y agoYeah, that Gotham news happened after I made this comment. Good to know!