|
1 | 1 | --- |
2 | | -title: Get started with Arm Performance Studio |
| 2 | +title: Profile an Android application with Arm Performance Studio |
3 | 3 |
|
4 | | -description: Learn how to use each of the tools supplied with Arm Performance Studio (formerly known as Arm Mobile Studio). |
| 4 | +description: Profile a debuggable Android graphics application with Arm Performance Studio and analyze performance with Streamline, Performance Advisor, Frame Advisor, RenderDoc for Arm GPUs, and Mali Offline Compiler. |
5 | 5 |
|
6 | 6 | minutes_to_complete: 60 |
7 | 7 |
|
8 | | -who_is_this_for: Android application and games developers new to Arm Performance Studio. |
| 8 | +who_is_this_for: This is an introductory topic for Android application and games developers new to Arm Performance Studio. |
9 | 9 |
|
10 | 10 | learning_objectives: |
11 | | - - Learn the basic features of each component of Arm Performance Studio. |
12 | | - - Get started profiling and optimizing your application. |
| 11 | + - Capture a Streamline profile from a debuggable Android application |
| 12 | + - Generate and inspect a Performance Advisor report |
| 13 | + - Capture and analyze a frame with Frame Advisor and RenderDoc for Arm GPUs |
| 14 | + - Use Mali Offline Compiler to estimate shader cost |
13 | 15 |
|
14 | 16 | prerequisites: |
15 | 17 | - An Android device. |
16 | | - - Arm Performance Studio supports applications built with OpenGL ES versions 2.0 to 3.2, or Vulkan versions 1.0 to 1.2. |
| 18 | + - An debuggable build of your application built with OpenGL ES versions 2.0 to 3.2, or Vulkan versions 1.0 to 1.2. |
17 | 19 | - For OpenGL ES applications, your device must be running Android 10 or later. |
18 | 20 | - For Vulkan applications, your device must be running Android 9 or later. |
19 | | - - A debuggable build of your application. |
20 | 21 | - Arm Performance Studio installed. Follow the [Arm Performance Studio install guide](/install-guides/ams/) for instructions. |
21 | | - - Android SDK Platform tools installed. Required for the Android Debug bridge (adb). |
| 22 | + - Android SDK Platform tools installed for the Android Debug bridge (adb). |
| 23 | + |
| 24 | +# START generated_summary_faq |
| 25 | +generated_summary_faq: |
| 26 | + template_version: summary-faq-v3 |
| 27 | + generated_at: '2026-06-26T16:37:19Z' |
| 28 | + generator: ai |
| 29 | + ai_assisted: true |
| 30 | + ai_review_required: true |
| 31 | + model: gpt-5 |
| 32 | + prompt_template: summary-faq-v3 |
| 33 | + source_hash: 80078c6f05717cbf24c3b695a82fa15bbe477bd14a290195569dda4efe6599ee |
| 34 | + summary_generated_at: '2026-06-26T16:37:19Z' |
| 35 | + summary_source_hash: 80078c6f05717cbf24c3b695a82fa15bbe477bd14a290195569dda4efe6599ee |
| 36 | + faq_generated_at: '2026-06-26T16:37:19Z' |
| 37 | + faq_source_hash: 80078c6f05717cbf24c3b695a82fa15bbe477bd14a290195569dda4efe6599ee |
| 38 | + summary: >- |
| 39 | + You'll profile an Android graphics application on Arm |
| 40 | + Mali-based GPUs using Arm Performance Studio. After preparing a debuggable build, you'll |
| 41 | + connect an Android device over adb, explore a provided Streamline sample to understand the |
| 42 | + available views, then capture a profile from your own application and generate a Performance |
| 43 | + Advisor report with the CLI. You'll also perform frame-level inspection with Frame Advisor |
| 44 | + and RenderDoc for Arm GPUs, and use Mali Offline Compiler to estimate shader |
| 45 | + cost. By the end, you'll understand how to progress from example data to capturing on-device |
| 46 | + profiles and interpreting reports that inform deeper frame and shader analysis. |
| 47 | + faqs: |
| 48 | + - question: How do I launch Streamline and select my Android device? |
| 49 | + answer: >- |
| 50 | + Open the Performance Studio Hub and launch Streamline. In the Start view, choose Android |
| 51 | + (adb) as the device type and select your device from the list. |
| 52 | + - question: What should I check in my app build before profiling with Streamline? |
| 53 | + answer: >- |
| 54 | + Build a debuggable version and include options that facilitate call stack unwinding by Streamline. |
| 55 | + For Unity, enable Development Build in Build settings. |
| 56 | + - question: What steps import the example Streamline capture? |
| 57 | + answer: >- |
| 58 | + In Streamline, select File > Import, choose Import Streamline Sample Captures, then select |
| 59 | + the Android example and finish. The sample capture is added so you can open it and explore |
| 60 | + the views. |
| 61 | + - question: How do I generate a Performance Advisor report from a capture? |
| 62 | + answer: >- |
| 63 | + Open a terminal, navigate to the capture location, and run streamline-cli with the -pa option |
| 64 | + on the .apc file (for example, "Android - GPU Bound Example.apc"). The capture is processed |
| 65 | + and a Performance Advisor report is produced. |
| 66 | + - question: Do I need Python for Performance Advisor? |
| 67 | + answer: >- |
| 68 | + Yes. Performance Advisor uses a Python script to connect to your device and requires Python |
| 69 | + 3.8 or later. |
| 70 | +# END generated_summary_faq |
22 | 71 |
|
23 | 72 | author: Ronan Synnott |
24 | 73 |
|
25 | | -generate_summary_faq: true |
| 74 | +generate_summary_faq: false |
26 | 75 | rerun_summary: false |
27 | 76 | rerun_faqs: false |
28 | 77 |
|
|
0 commit comments