Measure app performance

You can measure the performance of your app using a standalone version of the Android Studio Profiler. To start the profiler, do the following:

  1. Run the debugger.
  2. Click the profiler Profiler icon button in the Visual Studio toolbar.
  3. Next to SESSIONS, click the + button and select a debuggable process.

    Select debuggable process
    Figure 1. Select a process in the profiler

The profiler displays real time usage statistics for the following categories: CPU, memory, network, and energy.

Profiler statistics
Figure 2. Profiler statistics for the sample endless tunnel app

For more details on a certain category, click the graph for that category.

Profiler memory statistics
Figure 3. Detailed memory statistics

For more information on how to use the profiler, see the Android Studio Profiler documentation.