-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
Perfarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly
Milestone
Description
I notice a serious issue that makes webassembly too slow for all cases.
I noticed in the app razor file (componeny), the code is something like this.
<Router AppAssembly="@GetType().Assembly">
The problem is the GetType.Assembly is too slow since it uses reflection.
Reflection is always too slow for webassembly.
I think there should be a better way (even using source generators) for specifying what assembly to use with no reflection to improve speed on that part.
kristof12345
Metadata
Metadata
Assignees
Labels
Perfarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsfeature-blazor-wasmThis issue is related to and / or impacts Blazor WebAssemblyThis issue is related to and / or impacts Blazor WebAssembly