zoukankan      html  css  js  c++  java
  • The Instruments Workflow

    The Instruments Workflow

    系统可能看起来像一个复杂的应用程序。它可以用来收集关于你的应用程序的各种有用信息,并帮助你诊断和解决问题。但是,整个仪器工作流程相对简单(见图2-1)。Instruments may seem like a complex app. It is, in that it can be used to gather all kinds of useful information about your app, and help you diagnose and resolve problems. However, the overall instrument workflow is relatively simple (see Figure 2-1).

    Figure 2-1The Instruments workflowimage: ../Art/instruments_workflow_diagram_2x.png

    在高层次上,它由以下主要阶段组成:At a high level, it consists of the following main phases:

    1. 设置包含所需工具和设置的跟踪文档。Set up a trace document containing the desired instruments and settings.

    2. 目标设备和应用程序配置文件。Target a device and an app to profile.

    3. 应用程序简介。Profile the app.

    4. 分析分析过程中捕获的数据。Analyze the data captured during profiling.

    5. 修正源代码中的任何问题。Fix any problems in your source code.

    知道何时使用仪器Know When to Use Instruments

    在Xcode中测试你的应用程序的调试,咨询导航计(图2-2)跳水之前,仪器。这些量规提供了应用程序的CPU、内存、能源使用量等高级信息。通常,它们提供了您所需的所有信息,以提高性能并快速解决常见问题。在需要进行更详细的分析时使用工具。While testing your app with Xcode, consult the debug navigator gauges (Figure 2-2) before diving into Instruments. These gauges provide high-level information about your app’s CPU, memory, energy usage, and more. Often, they provide all the information you need to improve performance and resolve common problems quickly. Use Instruments when you need to perform more detailed analysis.

    Figure 2-2The CPU debugging gauge in Xcodeimage: ../Art/xcode_cpu_gauge_2x.png

    iOS Android Appcan WeChat
  • 相关阅读:
    vscode vue开发环境搭建
    mysql索引
    JVM垃圾回收与调优详解
    jenkins操作手册以及脚本编写
    Kibana 管理界面使用教程
    elk安装与搭建
    windows安装elasticsearch服务以及elasticsearch5.6.10集群的配置(elasticsearch5.6.10配置跟1.1.1的配置不太相同,有些1.1.1版本下的配置指令在5.6.10中不能使用)
    springBoot与Swagger2的整合
    java代码实现搜索elasticsearch索引数据
    springBoot配置elasticsearch搜索
  • 原文地址:https://www.cnblogs.com/zyingn/p/Instruments_Workflow.html
Copyright © 2011-2022 走看看