Reputation: 1566
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
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.
Upvotes: 3
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