Information Technology Reference
In-Depth Information
Comparing different runs
To monitor a new run, click the Record button to stop a run, and click it again to begin recording. By default,
you see a new set of tracks in the time line, and the description string under the main time counter changes to
“Run N of N”, where N is the total number of runs.
To compare different runs, click the reveal triangle at the left of an instrument. The time line displays each run
on a different track, as shown in Figure 16.25. Selecting each run in the time line displays its final statistics in
the detail view. You can also select runs by clicking the forward/back arrows on each side of the “Run N of N”
text in the time counter.
FIGURE 16.25
Comparing different runs
CAUTION
Although each run in this example is identical because they all use the same zombies test app, you can see from
the graphs how different the timing can be. Instruments must share Mac resources with other applications, includ-
ing Xcode and the Simulator. The time taken to launch an app and begin recording events can vary dramatically.
Generally, you can't rely on profiling for interactive time-critical monitoring, at least not for the first minute or so
of each run.
Saving and loading runs
Search WWH ::




Custom Search