About Instruments

Instruments是一个强大的和灵活的性能分析和测试工具的Xcode工具集的一部分。它的目的是帮助您配置您的OS X和iOS应用程序、进程和设备,以便更好地理解和优化他们的行为和性能。从应用程序开发过程的开始将工具集成到您的工作流中,可以帮助您在开发周期的早期找到问题。Instruments is a powerful and flexible performance-analysis and testing tool that’s part of the Xcode tool set. It’s designed to help you profile your OS X and iOS apps, processes, and devices in order to better understand and optimize their behavior and performance. Incorporating Instruments into your workflow from the beginning of the app development process can save you time later by helping you find issues early in the development cycle.

image: ../Art/instruments_app_icon_2x.png

在仪器中,您使用专门的工具,即仪器,来跟踪应用程序、进程和设备的不同方面。仪器收集数据作为它的概况,并向您详细介绍分析结果。In Instruments, you use specialized tools, known as instruments, to trace different aspects of your apps, processes, and devices over time. Instruments collects data as it profiles, and presents the results to you in detail for analysis.

与其他性能和调试工具不同,工具允许您收集大量不同类型的数据,并并排查看它们。这使得识别可能被忽略的趋势变得更容易。例如,应用程序可能会显示由于多个开放网络连接而导致的大量内存增长。通过使用分配和连接工具一起,您可以识别不关闭的连接,从而导致快速的内存增长。Unlike other performance and debugging tools, Instruments allows you to gather widely disparate types of data and view them side by side. This makes it easier to identify trends that might otherwise be overlooked. For example, your app may exhibit large memory growth caused by multiple open network connections. By using the Allocations and Connections instruments together, you can identify connections that are not closing and thus resulting in rapid memory growth.

通过有效地使用仪器,您可以:By using Instruments effectively, you can:

  • 检查一个或多个应用程序或进程的行为Examine the behavior of one or more apps or processes

  • 检查设备特定的功能,如Wi-Fi和蓝牙Examine device-specific features, such as Wi-Fi and Bluetooth

  • 在模拟器或物理设备上执行概要分析Perform profiling in a simulator or on a physical device

  • 创建自定义的DTrace仪器分析方面的系统和应用程序的行为Create custom DTrace instruments to analyze aspects of system and app behavior

  • 跟踪源代码中的问题Track down problems in your source code

  • 对应用程序进行性能分析Conduct performance analysis on your app

  • 查找应用程序中的内存问题,如泄漏、废弃内存和僵尸Find memory problems in your app, such as leaks, abandoned memory, and zombies

  • 找出优化你的应用程序以提高电源效率的方法Identify ways to optimize your app for greater power efficiency

  • 执行一般系统级故障排除Perform general system-level troubleshooting

  • 将工具配置保存为模板Save instrument configurations as templates

虽然它是嵌入在可使用Xcode,工具是一个单独的应用程序,这可能需要使用独立。Although it’s embedded within and may be used with Xcode, Instruments is a separate app, which may be used independently as needed.

转载于:https://www.cnblogs.com/zyingn/p/Instruments.html

About Instruments相关推荐

  1. iOS性能优化:Instruments使用实战

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

  2. Instruments of Xcode

    Instruments of Xcode Xcode仪表是一个性能分析.测试工具,动态跟踪和剖析OS X和iOS代码.灵活有力的跟踪一个过程,收集数据,检查收集回来的数据.通过这种方式,仪器帮助你理解 ...

  3. 使用Xcode和Instruments调试解决iOS内存泄露(转)

    转自:http://blog.csdn.net/totogo2010/article/details/8233565 虽然iOS 5.0版本之后加入了ARC机制,由于相互引用关系比较复杂时,内存泄露还 ...

  4. Error: Command failed: xcrun instruments -s

    Error: Command failed: xcrun instruments -s xcrun: error: unable to find utility "instruments&q ...

  5. iOS 使用Instruments优化内存性能

    iOS 使用Instruments优化内存性能 问题 项目中使用到图片合成视频,发现内存增长十分的迅速,导致一些因为内存引起的问题,本文使用这个案例,结合Instruments工具检测和分析问题,最终 ...

  6. IOS-React-Native:unable to find utility instruments, not a developer tool or in PATH

    解决办法: 终端运行命令 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/ 错误信息: Found Xcode proj ...

  7. iOS系类教程之用instruments来检验你的app

    2019独角兽企业重金招聘Python工程师标准>>> 发布于:2014-01-14 10:23阅读数:22668 比较了好多关于instruments 还是发现老外写的比较牛逼.于 ...

  8. 转iOS性能优化:Instruments使用实战

    最近采用Instruments 来分析整个应用程序的性能.发现很多有意思的点,以及性能优化和一些分析性能消耗的技巧,小结如下. Instruments使用技巧 关于Instruments官方有一个很有 ...

  9. Instruments模板介绍(更新中...)

    第一章.Instruments(仪器)快速入门 Instruments可以用来收集关于一个或者多个系统进程的性能和行为的数据,并跟踪睡着时间产生的数据.它提供了好几个分析模板: Blank 任何类型都 ...

最新文章

  1. OFBiz + Opentaps 目录管理 十三. 配置产品搜索
  2. 利用python爬虫(part11)--XpathHelper为啥不能全信之JS要闹哪般
  3. php四种标量,php的标量数据类型和复合数据类型,php四种标量
  4. 用英语描述计算机操作,操作系统的英文介绍
  5. 再说invoke和begininvoke
  6. Java 蓝桥杯 字母图形
  7. (67)SPI外设驱动接收驱动(六)(第14天)
  8. Sonarqube plugin插件 在使用Sonar-scanner时不能 扫描 file index 动态新生成的文件 解决方案
  9. 未处理的超时和请求取消
  10. chrome插件推荐
  11. NodeMCU实现远程控制LED灯
  12. ie浏览器css怎么调,IE浏览器下的CSS问题小结
  13. Day9学习记录 2021Python面向对象基础(下)(属性和方法的私有化、Property属性、__new__方法、单例模式 、异常处理、动态添加属性和方法、__slots__属性限制 )
  14. 通知的各种实用写法技巧
  15. 第16集 生成BOM清单标签导出
  16. layui单据打印_layui打印表格自定义函数
  17. 音频设置 audio
  18. spring框架aop_使用Spring框架和AOP进行动态路由
  19. 产品30讲之产品周期
  20. vba 为excel排序

热门文章

  1. 连接远程mongodb_在centos6.9安装mongodb
  2. 15分钟在阿里云Kubernetes服务上快速建立Jenkins X Platform并运用GitOps管理应用发布...
  3. finally 关键字
  4. 翻译连载 | JavaScript轻量级函数式编程-第7章: 闭包vs对象 |《你不知道的JS》姊妹篇...
  5. unslider的用法详解
  6. Response_输出数据,实现文件下载,定时刷新页面,是否缓存,重定向,实现验证码...
  7. 水杯测试----误人子弟啊!
  8. netstat获取本机监听的地址列表 —— *awk与splite命令实现*(sudo netstat -nl | grep tcp……)
  9. Intellij IDEA运行报Command line is too long解法
  10. 【科技】浅谈圆的反演