一、性能测试
(一)、Insturments
(1).参考链接:http://www.jianshu.com/p/014365bb59fb
(2)图解Insturments的主要功能:

(3)测试准备:
1、MAC本
2、越狱IOS手机或装有开发者证书的开发机
3、RD编译生成的以.ipa后缀的安装包
4、IOS性能测试主要使用macXcode自带的Insturments工具
(4)测试步骤:
1.连接设备,打开ITunes,拖入ipa包进行安装
2.打开mac本的Xcode工具,选择Open Developer Tool->Instruments

3.选择Blank
4.点击下图右上方加号按钮,然后在右侧Library弹窗找到需要的测试工具,选择对应的手机和程序,点击左上角的红色按钮开始recode,手机操作app,界面上就会显示各指标的结果。

(5)常用:CPU、内存和流量,分别对应Activity Monitor及CPU Activity、Leaks及Allocations和Connections
网友评论