App is slow to navigate to First page (which acts as Splashscreen) #3312
Unanswered
HelenMamalaki
asked this question in
.NET MAUI
Replies: 1 comment 1 reply
-
99.9% of the time, any performance issues while navigating is because of application code. For example, if using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On windows, the app is really slow to navigate to the app's first page, which is a blank screen with a logo on it which acts as a splash screen. So it's definitely not an issue with the page itself. I've put timestamps to examine where the hold up is and it seems to be between the Maui App class being initialised and the constructor of the first pages ViewModel being hit. What could be causing the delay? Sometimes our app can take up to 13seconds to load our 'splash screen' page on a low spec device!
Platform:

App start up timings on a high spec device with inter core i7 and 32GB RAM - performs significantly worse on low spec mobile tablets.
Windows App.xaml.cs: Initialising component: 10.53.14.50
Windows App.xaml.cs: Component initialised: 10.53.14.59
MauiProgram: Creating Maui App builder: 10.53.14.78
PrismStartup: Configure PrismAppBuilder: 10.53.14.82
PrismStartup: builder.CreateWindow complete: 10.53.14.96
MauiProgram: Maui App start building: 10.53.14.97
PrismStartup: Start of registering dependencies: 10.53.15.04
PrismStartup: End of registering dependencies: 10.53.15.05
MauiProgram: Maui App build complete: 10.53.15.17
Maui App.xaml.cs: App is initialising: 10.53.15.19
Maui App.xaml.cs: App is initialised: 10.53.15.44
+ 2sec (+ 6 seconds on a low spec tablet)
LoadingPageVM: Initialised: 10.53.17.46
LoadingPageVM: Finished navigating: 10.53.17.48
LoadingPage.xaml.cs: Initialised: 10.53.17.55
Beta Was this translation helpful? Give feedback.
All reactions