Reputation: 3
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
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.
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.
Double clicking an entry will show you the calls within that method and how long they each take
I find it useful to select these options in "Call Tree"
Upvotes: 3