Skip to content

Debugging and Profiling Apps

Nathan Esquenazi edited this page Sep 13, 2016 · 16 revisions

Overview

(Needs Attention)

In addition, the following concepts need to be included:

  • Profiling GPU Rendering - quick visual representation of how much time it takes to render the frames of a UI window relative to the 16-ms-per-frame benchmark.
  • Visualizing Overdraw - Shows on the device where an app might be doing more rendering work than necessary. Helping you see where you might be able to reduce rendering overhead.
  • Heap Viewer - Identifying memory leaks
  • LeakCanary for finding memory leaks easily
  • Allocation Tracker - Finding the places in your code that may contribute to memory trashing.
  • Batterystats - Shows where and how processes are drawing current from the battery.
  • Batteryhistorian - Visualize system and application level events on a timeline. Guide to getting started

Optimizing Performance

Check out the following links regarding optimizing performance:

Memory Management

References

Finding these guides helpful?

We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.

Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.

Interested in ramping up on Android quickly?

(US Only) If you are an existing engineer with 2+ years of professional experience in software development and are serious about ramping up on Android quickly, be sure to apply for our free evening 8-week Android bootcamp.

We've trained over a thousand engineers from top companies including Apple, Twitter, Airbnb, Uber, and many others leveraging this program. The course is taught by Android experts from the industry and is specifically designed for existing engineers.

Not in the United States? Please fill out our application of interest form and we’ll notify you as classes become available in your area powered by local organizers.

Clone this wiki locally