문제

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