-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Reduce Data Flow #13025
Comments
Maybe rename to "R" is better, It's shorter |
Thanks for contacting us, @kevinjhang. |
Blazor Server's renderbatch wire format is already pretty heavily optimized. You can find the implementation at https://github.com/dotnet/aspnetcore/blob/master/src/Components/Server/src/Circuits/RenderBatchWriter.cs. Note that we're not only optimizing for wire size, but also for efficiency of decoding on the client side, which is why it's highly valuable to pad each frame to the same length. If you're interested in submitting a PR to optimize this further we'd certainly be interested.
We'd need a stronger, more quantified justification in order to do that. Do you have a reasonable application that returns large renderbatches in which this change would make more than (say) 1% of difference? I'd be surprised if, in large renderbatches which need to be optimized, this change would have any noticeable effect. Thanks for the suggestion though! |
TCPStream-1.txt (32,782 bytes) |
@kevinjhang Thanks |
Closing this as #35897 is going to give us more benefits and basically obsolete this specific ask. |
Is your feature request related to a problem? Please describe.
I am trying to do reduce data flow
Describe the solution you'd like
Rename "JS.RenderBatch" to "JS.RB"
Additional context
The text was updated successfully, but these errors were encountered: