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
-
connect your iOS device.
You can use a physical or wireless connection. See   Enable wireless device  
-
Select from the target pop-up menu Choose a goal.
-
Click to record and workout your app 。
-
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