Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin Forms startup times are unusably slow

$
0
0

My startup screen shows two buttons and a label in a StackLayout, and does nothing more. I've timed the app to take 2.5~3.0 seconds just to show that screen, in Release mode, on an actual device (Motorola Mini XT1030). That's an absurd and unacceptable amount of time to show nothing to the user. As far as I can tell, there's no way to show a splash-screen during that initial loading.

Yes, I'm using [assembly: XamlCompilation(XamlCompilationOptions.Compile)] (without it startup times are around 4.2s!). Running Xamarin Profiler, I see that 100% of the startup code is out of my control.

Is there anything else I can do to speed up my startup times? Or is Xamarin Forms really still not production-ready, and I should start recreating all my UIs on every platform?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>