skay-
skay-

Reputation: 1566

Performance measurement on Android

i am looking for ways of measuring the performance of my Android application. In particular when a specific methods are called. Apparently, I can use time (time after - time before) t evaluate how quick and there therefore how fast it performed.

Does anyone know any other technique? i.e. showing how much processor is used.

Thanks in advance for any response.

Upvotes: 3

Views: 3616

Answers (2)

Mac_Cain13
Mac_Cain13

Reputation: 3633

You can use the Traceview tool for this as kabuko mentioned, note that this tool is also accessable from Eclipse and quite easy to use:

Run the App, go the the DDMS view, select the process to trace and click the "Start Method Profiling" button (tree arrows with a red dot). Perform actions you want to profile in the App and then click the same button again to stop tracing and Eclipse will show the trace to you.

Start method profiling button

Upvotes: 3

kabuko
kabuko

Reputation: 36302

Android comes with a tool called TraceView which is useful for measuring this kind of thing. Read this doc on profiling with Traceview.

Upvotes: 3

Related Questions