-
Notifications
You must be signed in to change notification settings - Fork 2
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
Perf measurements #2
Comments
Surprisingly throughput went down drastically. Maybe I'm doing something wrong? tekjar/numbers@2c9fced#diff-f0bee5e53cdb498867700a698edbb6e5 I'll read up more. Please let me know if you find any red flags. |
This uses I'm thinking of providing a replacement for |
Wait, no, you have hacked into the In general, if the messages are predominantly smaller than the pre-allocated buffer and the output usually consumes the entire accumulated buffer, there won't be any benefits in using |
I've performed more experiments now and I think the problem isn't with my code. Went through the source code here but I couldn't find anything obvious. Will recheck this when I get time again. But I can support you with more experiments if you like :) update: I think this https://github.com/tekjar/numbers/blob/master/minimqtt/vectored/src/bin/tokio.rs#L74 |
@tekjar Thank you! Can you submit a minimized benchmark added to |
|
Replacing |
Hi. Thanks a lot. This is exactly what I'm looking for and I have a perfect use case to test the performance. I'll report here soon.
The text was updated successfully, but these errors were encountered: