L. MH
L. MH

Reputation: 3

How to track down which operation is low down the launching process?

It takes a long duration of time for my App to be launched. How can I track down which operation causes this trouble?

Upvotes: 0

Views: 23

Answers (1)

James Webster
James Webster

Reputation: 32066

Your best option is to use the Time Profiler which is part of Instruments.

You can press Cmd + I to start profiling your application. Then select the Time Profiler.

enter image description here

This tool records how long each call takes and you can use it to narrow down which parts of your code are causing the biggest problems.

enter image description here

Double clicking an entry will show you the calls within that method and how long they each take

enter image description here

I find it useful to select these options in "Call Tree"

enter image description here

Upvotes: 3

Related Questions