Skip to content

[Blazor] Serialization optimizations #62312

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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