I recently read this blog post, Android Performance Case Study by Romain Guy, on profiling an application that he used regularly to determine why there were occasional hiccups. I used one of the tools he recommended, Debug GPU Overdraw, to see how the PostTV Application was behaving. With one minor tweak I was able to reduce the overdraw by 1x. So what does overdraw mean anyway?

Overdraw is when you draw pixels on top of each other potentially effecting the speed with which your application draws views on the screen. Ideally you don’t want to have more than “2.5 times the number of pixels on screen per frame.” And the different colors each represent how many times the pixel has been painted on the screen.

Taken directly from Romain’s post:

So by simply removing the background color that was assigned to my main layout, I was able to get a 1x overdraw instead of a 2x. Which is why most of the app is now a happy blue color!

Newsletter

Subscribe today for future updates!

Follow Me

This was my second time attending and speaking at the Droidcon NYC Conference. In 2015, my first conference talk was at this event. It was great to get back … [Read More...]

Over the past few months my team has been steadily moving our code over to Kotlin. It's been a joy to get to work with such a succinct, yet expressive language. … [Read More...]