Generate a performance report
- In a terminal, navigate to the location of your Streamline capture file. This file is usually a Streamline
.apcdirectory but can also be a
.zipfile that has been exported from Streamline.
- Run Performance Advisor's
pacommand to generate an HTML report in the current location:
pa my_capture.apc [options]
You can pass options to the
pacommand, 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=capturewhen 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-captureoption to do this, for example,
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
--directoryoption. 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
pa my_capture.apc --process=app.package.name [options]