I have a drawing application that I’m working on for the iPad. I’m trying to speed up my drawing, so I was running some tests with the time profiler instrument. However, I’m either doing something wrong or the time profiler just isn’t going to be helpful in this situation.
What I’m looking for is basically a line by line execution time for the code that is doing my drawing. What I got instead is below. Basically, the time profiler says “you’re spending a lot of time drawing”. My response is “Oh rly!?”. Am I using the profiler correctly, or is there a way to get it to display line by line execution times (which would be much more useful than the current output)?


Edit: Above, you can see more what I’m looking for. Line by line execution times. That is not MY code, just an example of how I want/expect the time profiler to work.
Edit2: Can you only see method by method execution times when running on the simulator? I just tried profiling on the simulator and the output is exactly what I would expect. However, I was really hoping for more accurate profiling using the device 🙁
The time profiling tool does not seem to behave the same on the device as in the simulator. The simulator version allows me to see line by line execution times, where as when profiling on the device, I only get output above, which is far less useful.