4 ms·
The reason the rust framework is winning on the fortunes is because of the ecosystem more so than the framework itself. For instance, any database benchmark is
by drenvuk 7y ago
The reason the rust framework is winning on the fortunes is because of the ecosystem more so than the framework itself.
For instance, any database benchmark is going to favor frameworks that have a library that implements pipelining and asynchronicity. The fact that you're not allowed to modify the library unless you want your framework to be labeled a "raw" benchmark increases the benchmarks worth but doesn't come without caveats. The implementer of h20 which is the c server framework/library just below actix in that chart has mentioned something related to this:
https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/C/h2o#database-tests https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast...
So rust is "production grade" because its official library handles it for the framework separately. I LOVE these benchmarks because it points out the differences in each ecosystem when you're trying to find the fastest thing. I wouldn't have found a bunch of interesting projects without it.
If you want to really know about the raw speed, just look at the plaintext bench. The top frameworks are all being limited by the 40(!) gbps connection these guys are running. After picking any one of them the code you write would be the limiting factor.