Mobile Zone is brought to you in partnership with:

Alec is a Content Curator at DZone and lives in Raleigh, North Carolina. He is interested in Java and Android programming, and databases of all types. When he's not writing for the NoSQL and IoT Zones, you might find him playing bass guitar, writing short stories where nothing happens, or making stuff in Java. Alec is a DZone Zone Leader and has posted 572 posts at DZone. You can read more from them at their website. View Full User Profile

How to Optimize Android Apps for Superior Performance

12.03.2013
| 15578 views |
  • submit to reddit

This recent blog post from Venmo discusses performance optimization in Android apps through a series of real-life examples regarding Venmo's recent update to its app. The primary goals of the optimization, According to Venmo, were to:

  • Flatten view hierarchies.
  • Reduce overdraw.
  • Make fewer potentially blocking calls on the main UI thread.
  • Avoid system garbage collection as much as possible.

And the post is divided into sections according to these topics. The result is an engaging and particularly useful look at performance optimization, both in terms of tips and strategies for achieving it and in terms of techniques for determining where optimization is needed; a graph of rendering time per frame is an interesting tool, for instance, and the post details a number of other tools for similar performance visualizations.

Android developers interested in making their apps as fast as they can be should check out the full post at Venmo. There are a lot of useful tips and tools, and some could do a lot of good without a serious time investment.