I am using TimeProfiler for the first time. And I have read RayWanderlich's blog to get understanding of TimeProfiler.
How I can improve the performance in my app. I am showing the screenshots from the TimeProfiler that might help in analysing the SO's to understand where I am lacking. The time that is marked in the screenshot is increasing when I am scrolling through the Table View.
Let me elaborate:
My app opens and request feeds from the server and I am displaying them in UITableView
. The time that I am worried about is in function
cellForRowAtIndexPath:
when the cell is displaying a time using NSDateFormatter
.
I have used NSDateFormatter
only once using dispatch_once
GCD method.
Please check the screenshots. Any help is appreciated.
From Time Profiler:
Displaying where the time is spent:
Calling Utility method from Table View cellForRowAtIndexPath:
: