[TIMOB-2671] poor performance when table view row has image background
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-08-24T10:51:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | jason H |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:26:34.000+0000 |
Updated | 2017-03-09T23:02:22.000+0000 |
Description
I have tried sdk 1.4.3, 1.5.2 and 1.6 on iPhone, they all showed poor performance when table view row has image background. My table has about 100 rows ( actually, it is kind of slow when it has only 20 rows too), each row has a nice image as its background. I set rowclass, prepopulated the rows into an array then set it to tableData, it is fast in simulator (of course it is fast with 12 CPUs), but it took 5 seconds even in iPhone 4. I ended up with a trick, I only set 8 rows to tableData first (user can only see first 8 anyway), then append the rest of rows to tableview with a setTimeout function. It kind of works in iPhone 4, but not good in older version of device.
I would really appreciate you look into this performance issue, since table view is most widely used UI widget.
No sample code provided, unable to reproduce, ticket marked as invalid.
Closing ticket as invalid.