解决方案
基线保存在 CallIn.xcodeproj / xcshareddata / xcbaselines /
文件夹,这意味着您只需 将它包含在 .gitignore
文件中,您就可以添加他们到您的远程。
(如果您找不到该文件夹,请右键单击您的 .xcodeproj
文件并点击'显示软件包内容')
一旦完成,每个同步和运行性能测试的人都应该有您设置的比较基准。
I have performance tests on XCode with a baseline set as shown below.
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?
解决方案
Baselines are saved under your CallIn.xcodeproj/xcshareddata/xcbaselines/
folder, 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.
这篇关于如何在git上共享XCode性能测试基准?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!