How Xamarin.Android AOT Works

AOT stands for Ahead of Time compilation, and compiles your code, to the native platform, dependent upon the architecture. The reason you would use AOT, is because it has a drastically reduces startup time, and app performance. You can see some results from Improving Xamarin.Forms Startup Performance. The down side is you also get drastically larger […]

Read More >

IoC Container Performance

Most Xamarin.Forms applications, will use Dependency Injection, and hence an IoC (Inversion of Control) container. In this post, we will be looking at the performance of these frameworks, in 3 scenarios. Registering types into the container Resolving a simple type Resolving a type, with dependency injection, through the constructor. Types These are the types and […]

Read More >

Improving Xamarin.Forms Startup Performance

This is a common issue for many Xamarin.Forms developers, and it is a particular issue with Android. In this post, I will be going through how to boost the startup performance of your Xamarin.Forms on an Android app. I will be comparing this to a native Xamarin.Android app, doing a cold boot, with no other […]

Read More >

Xamarin Forms FastRenderers for Android

Included from 2.3.5, FastRenderers are several new renderers for Android, that speed up the rendering of certain elements. There are currently 4 FastRenderers in 2.3.5. These include ButtonRenderer, FrameRenderer, LabelRenderer and ImageRenderer. They are enabled by default, however the old renderers still exist, to ensure backwards compatibility. This has now changed for 2.4.0, and you need to […]

Read More >

Xamarin Forms Profiling

Profiling is about finding resource usage that is out of place. Resources can include, network traffic, CPU, GPU, storage and/or memory usage. Because every app can behave differently, there is no set profile on how resource usage should look for your app, only guidelines. This means a profiler doesn’t give you any guidance, or show […]

Read More >