質問

I often doubt between two or more forms of doing something. In Android, I try to do it the way more efficent, the way in which the processor uses less resources and RAM. How I can measure the cpu and RAM consumption of an application in order to compare different methods?

役に立ちましたか?

解決

You could profile your application. The Android SDK comes with traceview and the instructions are pretty good. You could also watch memory allocations from DDMS.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top