iOS performance optimization Test iOS device I/O activity

Source: Internet
Author: User

measure I/O activity on iOS devices

Applications can communicate with many complex program devices and information between users. The I/O Activity Tracking Template tool helps you see what your application is doing and where to send and receive information. This chapter shows you how to use these tracking templates and monitor the activity of your application.

tracking templates through Activity Monitor after network usage

The Activity Monitor tracking template monitors the overall activity and statistics of the system, including CPU, memory, disk, and network. Simultaneously monitor all existing processes, which can be used to attach a new instrument to a particular process, monitor the parent-child process hierarchy and exit the running process. The Activity Monitor tracks the template by the active monitoring instrument.

Use the Network Statistics Activity Monitor tool to see which processes send and receive information. Double-check this information to determine where your application is sending too much information, thus consuming valuable device resources. When you reduce the amount of information sent and received, you can benefit from increased application performance and response time.

Figure 8-1 Activity Monitor tool tracks network packets

The Trace Accent view option does not provide any useful graphs for viewing network connections. To provide useful information, you must configure the Activity Monitor tool. The following configuration options provide network-specific information through activity Monitor. For data definition and complete configuration options, see the Instrument user reference .

    • NET Package

    • Network bytes

analyzing connection tracking templates for network Connections

The network template analyzes how your application uses TCP/IP and UDP/IP connections. The network trace template is made up of connections and network activity tools.

to view the applications used by a network connection
    1. connect your iOS device.

      You can use a physical or wireless connection. See   Enable wireless device  

    2. Select from the target pop-up menu Choose a goal.

    3. Click to record and workout your app 。

    4. click Stop.

Selection tracking highlights the two bar charts available in the details pane: the first bar chart lists the top five active ports and information, passing their number. The number of bytes in the second list is used by other processes. Switch to the connection column form that the view displays to gather information.

The amount of data that can be compared uses the connection of the instrument through different connections (see figure 8-2 ). In the Diagram column, click a connection next to the check box to display that information in the trace pane. The diagram shows all connections always tracking panes.

Figure 8-2 View Network Connections

With the instrument connected, the network activity instrument measures the number of packets sent and received by your application.

iOS performance optimization Test iOS device I/O activity

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.