Open Narik1 opened 7 years ago
This could be related: Xamarin Forms startup times are unusably slow
We could display a startup splash screen: _Creating a Splash Screen_
Looks like some of this could have to do with my XAML markup as I didn't know that using a lot of StackLayout
is impactful on performance as well as me using ListView
a bit. That being said another issue is that the components (which there are a lot of them) aren't being compiled which is a performance problem
On my 5X
I timed my release build to startup in 3-4 seconds
Apparently this output log can tell us what tasks are using too much memory on the main UI thread
According to this StackOverflow thread it has something to do with doing too much shit on the UI thread so maybe something about the way I'm calling the Async tasks isn't really separate from the UI thread
Did find an unnecessary implementation of StackLayout
in the menu when a grid could've done the same thing
Specs
RAM: 768mb Graphics Emulated: Yes Android Version: 6.0
Startup Results
Implemented user data loading with a task, no longer skipping frames :D
Hard to tell whether he app is actually doing anything. Perhaps add a splash screen?