Am trying to find a way to run Instruments like leaks, Core Animation (FPS) in CI to ensure that all PRs merge with the required levels for these metrics. In addition, I am looking to do some of these on device ie. FPS measure.
1. Are there command line options that can be used by CI to startup these instruments and run on Simulator and iOS Devices
2. are there ways to diff the output trace files to automate the checks on the metrics for eg FPS is atleast 60FPS
3. If anyone has done it, could you also talk to how it affects the CI performance for each PR?