objective c - Measuring the UITableView Scrolling Performance - iphone -


I am trying to measure scrolling performance for my UITableView, between using the subview and viewing myself . As we know about scroll display, some famous articles (and help us with technology, and all point at the same point): When we have lots of subviews, we should go with the draw .

The problem is that I do not know how to benchmark performance in any case: using a subview or drawing. And the drawing is really harder than the subview, so it's difficult to understand everyone to go directly with the drawing. I am trying to write 2 small samples and write the results of 2 techniques and benchmark performance. I am currently trying with this, but it produces the same results for both techniques:

  NSDate * date = [date of NSDate]; Stable NSString * cell identifier = @ "cell identifier"; Custom Drawing Tab Viewable * Cell = (Custom Drawertab Viewer *) [Self Tablesviews DeuRubualCalified Identifier: Cell Identifier]; If (cell == zero) {cell == [[Custom DockingTabweissel Alok] Init With Style: UITTWeSstyle Default Reuse Identifier: CellIde Ntifier] autorelease]; } // Configure cell ... // main code is here NSDT * Date2 = [NSDT Date]; NSLog (@ "% f", [date2: Time: Revolution Date: Date]); Return cell;   

My cell has four images, 1 text

I 'Instead of trying to run the test directly in your code, use the tools instead of running the test. The Core animation tool will track the actual number of frames per second of the frame that displays your app.

Comments