Analyzing CPU usage of an iOS application
Posted
by
Mustafa
on Stack Overflow
See other posts from Stack Overflow
or by Mustafa
Published on 2011-02-17T07:22:30Z
Indexed on
2011/02/17
7:25 UTC
Read the original article
Hit count: 221
I'm working on an application that constructs springboard like interface (like iPhone's home screen). I have multiple pages, and each page contains many subviews. Each subview is able to detect touch and hold event. Once a touch and hold event is recognized, all the subviews start to wobble.
One of the problems that i'm facing is that the CPU usage shoots to 99%, when the subviews are in wobble state, and i change the page.
Instruments has a tool by the name of "CPU Sampler". I'm unable to find good set of documentation for this tool. I don't know how to read the output generated by this tool. Can anyone give me a small tutorial or guidelines? Can i check which piece of code is responsible for the CPU activity?
© Stack Overflow or respective owner