Measuring performance on Android
I am looking for ways to measure the performance of my android app. In particular, when specific methods are called. Apparently I can use the time (from time to time before) to estimate how fast and therefore how fast it is executing.
Does anyone know any other technique? that is, it shows how much processor is being used.
Thanks in advance for any answer.
source to share
You can use Traceview for this as indicated by kabuko , note that this tool is also available from Eclipse and is quite easy to use:
Run the application, go to the DDMS view, select the tracing process, and click the Start Profiling Method button (arrows in the tree with a red dot). Follow the steps you want to profile in the application and then click the same button again to stop tracing and Eclipse will show you the trace.
source to share
Android comes with a TraceView tool which is useful for measuring this kind of thing. Read this document on Profiling with Traceview .
source to share