-
Notifications
You must be signed in to change notification settings - Fork 235
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
Bad performance with input_buffer > 3.0
#210
Comments
Sadly, the performance of
After hack of removing
For those who want to improve the performance, use the following [patch.crates-io]
input_buffer = { git = "https://github.com/qiujiangkun/input_buffer", tag="HACK" } |
input_buffer > 3.0
Note that the provided custom "hack" version is essentially the same as older version of the Current state and discussion: snapview/input_buffer#6 (comment) We're going to soon release the new version that is as safe as our current sound implementation but also significantly faster. |
I see that input_buffer crate was updated and the bottleneck has been fixed. snapview/input_buffer@f2e8410 |
You're right, it was just about bumping the version of the dependency and releasing a new version. I decided to postpone it a bit, so that we can merge and release even better version that performs even faster on average. I expect us delivering a new version tomorrow if the PR gets reviewed today. |
@application-developer-DA I see you updated the input_buffer crate and added benchmarks. Mind bumping the version of tungstenite-rs ? Thank you for the great work! |
The assembling process takes up most of the time in my IO thread. Why is it so slow? I would like to file an PR to improve it.

The text was updated successfully, but these errors were encountered: