xamarin.forms - Slow startup of xamarin app -
we developing cross platform app on pcl, time being using android devices testing.
our concern taking 6 8 seconds (depending on device test it) start app, slow.
after placing few breakpoints saw timing consumed pretty evenly.
did notice particular parts took longer:
- 1s before reaching oncreate() on mainactivity (there's splash screen before has 1 image , background color)
- 1s on
base.oncreate(bundle);
- 1s on
global::xamarin.forms.forms.init(this, bundle);
- 1.5s on
page mainpage = new logscreen();
(creating main page set main navigation page).
this common problem while using xamarin.forms there many threads related specially one:
https://forums.xamarin.com/discussion/93178/lets-talk-performance/p6
the news xamarin team working on it.
here tips can improve it:
https://blog.xamarin.com/5-ways-boost-xamarin-forms-app-startup-time/
Comments
Post a Comment