The Android Developer Challenge is back! Submit your idea before December 2.

Tools for optimizing your game

To prepare your environment for debugging and optimizing Android games, get access to the following tools that help you analyze CPU usage and graphics calls.

CPU

Use the following tools to evaluate and improve your game's CPU performance:

Memory

  • Meminfo: Collects memory statistics to show how much PSS memory was allocated and the categories for which it was used. Use the command adb shell dumpsys meminfo package-name or the MemoryInfo call.
  • Perfetto: Collects performance and memory information on a device and displays it in a web-based UI. Perfetto supports arbitrarily long traces so you can view how RSS changes over time. Enable long traces from the System Tracing app.
  • bugreport: Shows if your game crashed because it ran out of memory or if it was killed by the LMK. Use the command adb bugreport bugreport-name or go to Developer Options > Bug report.

Graphics

Use the following tools to evaluate and improve your game's display pipeline:

Additional resources