Generate a performance report

  1. In a terminal, navigate to the location of your Streamline capture file. This file is usually a Streamline .apc directory but can also be a .zip file that has been exported from Streamline.
    cd $HOME/Documents/my_captures
  2. Run Performance Advisor's pa command to generate an HTML report in the current location:
    pa my_capture.apc [options]

    You can pass options to the pa command, to control how it runs. For example, you can specify different output directory for the report, and metadata for the report, such as the application name, device name and build name, which are shown at the top of the report to help you identify the run:

    pa my_capture.apc --directory=$HOME/Documents/Reports --application-name="My Game" --device-name="A50" --build-name="First Build"

    If you captured screenshots of the game by specifying --lwi-mode=capture when running the script, you will need to supply the directory where those screenshots are saved, so that they will be shown on the report. Use the --frame-capture option to do this, for example, --frame-capture=$HOME/Documents/MyGameProfile/SlowFrames.

    For a full list of the available command options, refer to The pa command in the Performance Advisor user guide.

    Tip: If you want to pass a number of command-line options to the pa command, you can create an options file containing them, which makes command-line entry much simpler.
    The HTML report is saved to the current location, or to the directory that you specified with the --directory option. Double-click this file to view it in a browser.

Note: If you are using an Arm Mobile Studio with a professional edition license to do system-wide profiling on a rooted device, you also need to specify the application name with the --process option:
pa my_capture.apc --process=app.package.name [options]

Previous Next