Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to share Xcode performance test baselines on git?

Tags:

I have performance tests on Xcode with a baseline set as shown below. enter image description here

These baselines appear to be locally saved (like breakpoints) so my changes to them are not transferred over git. When anyone other than myself runs my performance tests and they're too slow the tests do not fail. How can I resolve this?

like image 401
Declan McKenna Avatar asked Oct 13 '16 16:10

Declan McKenna


1 Answers

Baselines are saved in YourProject.xcodeproj/xcshareddata/xcbaselines/, meaning you just need to not include it in your .gitignore file and you'll be able to add them to your remote.

(if you can't find that folder, right click your .xcodeproj file and click 'Show Package Contents')

Once that is done, everyone synchronising and running performance tests should have the baselines you set to compare against.

like image 180
Skwiggs Avatar answered Sep 26 '22 16:09

Skwiggs