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.

+3


source to share


2 answers


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.



Start method profiling button

+3


source


Android comes with a TraceView tool which is useful for measuring this kind of thing. Read this document on Profiling with Traceview .



+3


source







All Articles