-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Support multi-buffer sends in WebAssembly WebSockets #44611
Conversation
Proposed fix for dotnet#44551
Tagging subscribers to this area: @dotnet/ncl Issue meta data
|
Memory stream.. someday we'll care about perf in the browser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kjpou1 please follow up with a test for this.
@kg this should be on the list of the perf/bindings tests as well |
...System.Net.WebSockets.Client/src/System/Net/WebSockets/BrowserWebSockets/BrowserWebSocket.cs
Outdated
Show resolved
Hide resolved
At least this no longer allocates the MemoryStream for a single-frame message, but pooling would be nice. |
Failures are unrelated and the FileProviders issue is resolved now. |
/backport to release/5.0 |
Started backporting to release/5.0: https://github.com/dotnet/runtime/actions/runs/362325458 |
Proposed fix for #44551