-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is no benchmark Compared to tokio and async_std? #210
Comments
Benchmarking async runtimes is really hard. The potential workloads are so diverse that, at a point, it doesn't really matter. As a general rule, there are two main bottlenecks in an
These are just qualitative estimates based on the architectures of the runtimes. If the tokio team would like to collaborate on a more quantitative set of benchmarks I would be happy to oblige. |
I benchmarked axum powered by tokio vs axum powered by smol. wrk tool was used to benchmark both. The top section of the image is benchmark of axum powered by tokio. The bottom section of the image is benchmark of axum powered by smol. The axum endpoint just returns static string "Hello world". It's just homepage example of axum. CC: @notgull TLDR: axum powered by smol => |
This doesn't seem as good as Tokio |
The default executor for |
There is no benchmark Compared to tokio and async_std?
The text was updated successfully, but these errors were encountered: