Reputation: 217
How can we find the execution time of each methods on app startup using Android Studio's Profiler . I need to find the methods that are making the app slow to start.
Upvotes: 1
Views: 2532
Reputation: 1291
Here you have official documentation. It is well documentated. It depends a bit on version of Android Studio that you are using.
But in short:
Android Studio 3.4.1
You click CPU and "Record".
After you finish recording you can select what you want to see.
Hover on methods you want to see.
Upvotes: 2