Activity Instrument

January 6, 2020 · View on GitHub

The Activity instrument captures system activity during the app's run time.

Activity

Discussion

Use the information captured by this instrument to inspect system activity in your app and how it correlates to other performance metrics, such as CPU and memory usage.

Each activity type is displayed with its own unique color on the timeline. Each activity sample includes an object information, which helps you better figure out which object initiated the system activity.

The Activity instrument is disabled by default as it records a large amount of data from numerous sources. Enabling it will introduce some performance penalty and recording documents can see a significant size increase.

You can filter which activities are displayed by clicking on the Options button (Gear Button).

Detail Pane

The detail pane displays all activity types.

From the navigation bar, you can display activity samples in summary or list.

Events Detail Menu

Summary

Activity samples will be grouped by their types and objects.

Activity Detail Pane

List

Activity samples will be displayed in a list.

Activity Detail Pane—List

Inspector Pane

For each sample or group, the inspector pane shows information, such as activity type, object or starting and ending threads.

Activity Inspector Pane