Skip to content

MAUI Blazor Hybrid has worse render performance than Blazor Server and WebAssembly #28667

Open
@JKGeovision

Description

@JKGeovision

For an upcoming project, we planned to use MAUI Hybrid to create both a Web App and a Native App.

To test whether it could meet the required performance, I created a small benchmark where data is requested from a database, iterated over, and for each item, an SVG rectangle is generated.

Surprisingly, contrary to my expectations, MAUI Hybrid had a higher rendering time than Blazor Server. I had anticipated that it would perform at least at the same level, if not faster.

Server WebAssembly WebAssembly AOT MAUI Hybrid
82.7ms 79.8ms 56.3ms 109.6ms

Based on my research, others have also experienced performance issues due to data being marshalled between the .NET Runtime and the underlying WebView.

Are there any plans to improve this, or at the very least, provide an option to use WebAssembly in MAUI Hybrid?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorBlazor Hybrid / Desktop, BlazorWebViewt/perfThe issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions