Generate a JSON file
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, please register your interest on our sign-up page.
You can generate report data in JSON format, so that you can import it into external dashboards or regression tracking systems, to build your own metrics and track performance over multiple runs.
- In a terminal, navigate to the location of your Streamline capture file. This file can be a Streamline
.apcdirectory or a
.zipfile that has been exported from Streamline.
- Run Performance Advisor's
pacommand with the
--typeoption to generate a JSON report called
pa capture.apc ‑p app.package.name ‑d <path_to_output_directory> ‑‑type=json:report.json
You can specify both HTML and JSON types, to generate a report in each format:
pa capture.apc ‑p app.package.name ‑d <path_to_output_directory> ‑‑type=html:report.html,json:report.json
Optionally, you can include options to specify the application name, device name and build name, to help you identify the run:
pa capture.apc -p app.package.name -d <path_to_output_directory> ‑‑application-name="My Game" ‑‑device-name="A50" ‑‑build-name="First Build"
Go to the directory that you specified with the
-doption to find your performance report in JSON format.
For further command options, refer to the pa command topic in the Performance Advisor User Guide.