This video will show how to use the new profiler tool in Android Studio 3.0 to profile an applications real-time CPU activity.
The tool helps you understand CPU and Thread activity. Optimizing your app’s CPU usage will help you create a smooth user experience, and use less device resources.
The Profiler includes the ability to create Method Traces, which give insight into method entry and exit points, and how much time was spent in each method. I will show how to generate and view this content.
I will explain the differences between the output formats of a method trace:
- Top Down
- Bottom Up
- Call Chart
- Flame Chart
Be sure to check the official documentation for details about how to interpret the results of a method trace