Generate a JSON file
Performance Advisor can generate report data in JSON format, so that you can import it into any JSON-compatible database, and visualize the data in your own performance dashboards, to track performance over multiple runs.
Note: This feature is available as part of Arm Mobile Studio professional edition. If you would like to integrate Performance Advisor into your continuous integration workflow, request a professional edition license.
- Run Performance Advisor's
pacommand on your Streamline capture file, with the
--typeoption to generate a JSON report called
report.jsonin the current location:
pa capture.apc ‑‑type=json:report.jsonYou can specify both HTML and JSON types, to generate a report in each format:
pa capture.apc ‑‑type=html:report.html,json:report.jsonOptionally, you can include options to specify a different directory to save the report to, and metadata such as the application name, device name and build name, to help you identify the run:
pa capture.apc --directory=$HOME/Documents/Reports ‑‑application-name="My Game" ‑‑device-name="A50" ‑‑build-name="First Build"For a full list of the available command options, refer to The pa command in the Performance Advisor user guide.Note: If you are using an Arm Mobile Studio 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]
The JSON report is saved to the current location, or to the directory that you specified with the
For more information, refer to Running Performance Advisor in continuous integration workflows in the Performance Advisor user guide.