Skip to content
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

Blazor WebAssembly perf: RenderTreeArrayBuilder optimization #24464

Closed
SteveSandersonMS opened this issue Jul 31, 2020 · 1 comment
Closed

Blazor WebAssembly perf: RenderTreeArrayBuilder optimization #24464

SteveSandersonMS opened this issue Jul 31, 2020 · 1 comment
Assignees
Labels
area-blazor Includes: Blazor, Razor Components Done This issue has been fixed feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Milestone

Comments

@SteveSandersonMS
Copy link
Member

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

@SteveSandersonMS SteveSandersonMS added area-blazor Includes: Blazor, Razor Components feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly labels Jul 31, 2020
@SteveSandersonMS SteveSandersonMS self-assigned this Jul 31, 2020
@mkArtakMSFT mkArtakMSFT added this to the 5.0.0-rc1 milestone Aug 3, 2020
@SteveSandersonMS
Copy link
Member Author

Done in #24484

@SteveSandersonMS SteveSandersonMS added the Done This issue has been fixed label Aug 3, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components Done This issue has been fixed feature-blazor-wasm This issue is related to and / or impacts Blazor WebAssembly
Projects
None yet
Development

No branches or pull requests

2 participants