如何在git上共享XCode性能测试基准? [英] How to share XCode performance test baselines on git?

查看:156
本文介绍了如何在git上共享XCode性能测试基准?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在XCode上进行了性能测试,其基准集如下所示。

基线保存在 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆