iOS性能自动化之instruments
2017-07-19 20:28
204 查看
1.trace&template
模板包括 instruments提供的standard模板,你也可以通过自定义保存成custom模板
standard模板对应的就是activity monitor这些
custom模板,你可以任意组合standard模板
选择完模板,就进入trace document开始记录
2.自动化操作
cd {path}/instrumentscli3.trace
&& /usr/bin/instruments -w {udid} -t {trace_path}/trace_template/Performance.tracetemplate
{BUNDLE_ID} -e UIASCRIPT
{js_path}/ios_performance_test.js
-e UIARESULTSPATH ~/Desktop -v
3.解析性能数据
{amparser_path}/AMParser -f {trace_path}/trace/instrumentscli0.trace -o {data_path}/{file} -p
{process_name}
4.绘制坐标点
模板包括 instruments提供的standard模板,你也可以通过自定义保存成custom模板
standard模板对应的就是activity monitor这些
custom模板,你可以任意组合standard模板
选择完模板,就进入trace document开始记录
2.自动化操作
cd {path}/instrumentscli3.trace
&& /usr/bin/instruments -w {udid} -t {trace_path}/trace_template/Performance.tracetemplate
{BUNDLE_ID} -e UIASCRIPT
{js_path}/ios_performance_test.js
-e UIARESULTSPATH ~/Desktop -v
3.解析性能数据
{amparser_path}/AMParser -f {trace_path}/trace/instrumentscli0.trace -o {data_path}/{file} -p
{process_name}
4.绘制坐标点
相关文章推荐
- iOS开发之性能调试Instruments(二)
- ios性能测试Instruments
- iOS性能优化:Instruments使用实战
- iOS 性能调试Instruments ->Time Profiler
- iOS 性能优化:Instruments 工具
- iOS性能优化:Instruments
- iOS性能优化—— Instruments
- instruments xcode自带调试工具 iOS性能优化:Instruments使用实战
- iOS性能优化:Instruments使用实战
- Instruments进行iOS性能测试
- ios 性能优化之自动化UI测试
- iOS性能优化:Instruments使用实战
- 如何进行iOS性能测试-------Instruments 使用教程
- iOS性能优化:Instruments使用实战
- iOS性能优化:Instruments使用实战
- iOS 性能优化:Instruments 工具的救命三招
- iOS性能优化:Instruments使用
- iOS性能优化:Instruments使用实战
- iOS性能优化:Instruments使用实战
- iOS 性能优化:Instruments 工具的救命三招