Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I profile my Android app? [closed]

I need to find where the bottlenecks are in my Android app.

What profiling tools or techniques can I use?

like image 221
teedyay Avatar asked Oct 06 '10 09:10

teedyay


People also ask

How do I close an Android profile?

Go to Settings > Accounts > Remove work profile.

How do you close apps on a Android?

Close one app: Swipe up from the bottom, hold, then let go. Swipe up on the app. Close all apps: Swipe up from the bottom, hold, then let go.

How do I reactivate my Android profile?

You can enable a work profile on your Android device from settings menu. If there is no work profile option under settings, then go to accounts and you can find the option to enable the work profile from there.


2 Answers

You can use Traceview. It is far from ideal, but works. This article describes how to use it.

like image 149
cement Avatar answered Oct 06 '22 00:10

cement


DDMS is the best for Android. By default it get included with the ADT plugin.

This document with detailed example should help you to deal with DDMS.


For memory Analysis, try Eclipse MAT

like image 26
Shahul3D Avatar answered Oct 06 '22 01:10

Shahul3D