Skip to content

Blazor WebAssembly perf: RenderTreeArrayBuilder optimization #24464

@SteveSandersonMS

Description

@SteveSandersonMS

This is part of #22432

By introducing a new RenderTreeArrayBuilder type that combines the functionality of RenderTreeBuilder and ArrayBuilder, and by making RenderTreeFrame mutable, we can gain about 10% on the FastGrid benchmark. The improvement is due to reducing the amount of indirection and struct copying.

Prototype implementation is at fbd61ec

Metadata

Metadata

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssembly

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions