androiddebuggingandroid-traceview

android traceview


I made an application and I wanted to see if I can improve performance by running a traceview on a certain activity + it's background tasks.

This link points to an image from traceview. As you can see there are 2 colors that are taking the most time + processor.

My questions:

  1. Can I do something to make this drawBitmap less expensive ? (I would however like to keep all images on the screen)
  2. What is this VMDebug thing? Can't seem to find much about it via Google

Solution

  • It sounds like you may be able to optimize your bitmap drawing,(you mention a background that is drawn repeatedly)

    VMDebug is the dalvik debug monitor the startGC() function is called to start garbage collection