dotnet / dotnet/aspnetcore

[Blazor] Serialization optimizations

Open
#62,312 1 comment 2 reactions 0 assignees View on GitHub
area-blazor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

There are many places on the stack where we serialize payloads multiple times to/from strings.
* JSInterop
* Root component markers
* Persistent component state

While there are no functional issues with the current approach and performance is acceptable. There is an opportunity for us to reduce memory usage and improve performance on some of these APIs that get called regularly.

We know for a fact that in some cases it has a clear impact, for example in JS interop.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.