Inspect our apps' performance by viewing the heap and tracking memory allocations in both DDMS (Dalvik Debug Monitor Server) and Android Studio.
In this blog post I look at how to profile my app's method execution time using DDMS Method Profiling. I also cover installing and launching DDMS and analyzing test results.
Profiling is especially important on mobile apps because of the tight resource constraints. By using profiling tools you can measure method execution time, monitor the full heap space, and track memory allocations in real time. In this first blog post I will mention the available profiling tools and how to enable developer options on your device before I dive deeper into Android profiling in parts 2 and 3.