Skip to content

[Blazor] Serialization optimizations #62312

Open
@javiercn

Description

@javiercn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions