[TIMOB-6557] iOS: Improve view rendering speeds on add
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | n/a |
Components | iOS |
Labels | core, tbs-1.9.0 |
Reporter | Stephen Tramer |
Assignee | Ingo Muschenetz |
Created | 2011-12-10T13:33:53.000+0000 |
Updated | 2015-04-13T20:09:56.000+0000 |
Description
According to Jeff, some developers are experiencing some lag in view rendering performance (~50ms) that is affecting specific types of application development. This ticket is for specific re-evaluation of the view add/rendering code, which should be considered part of the layout/composite spec eval and implementation pass for 1.9.
This could be as simple as batching operations together. The layout specification would need to be updated to provide support for batching all UI operations, not just layouts on specific views (although we might want that, too).
This may also be able to be solved by any work on concurrency that allows specific operations on the main thread (i.e. Ti.mainThread(function f() { /* view stuff */ });).
the main issue is when you do an addView, there's code that adds the view after only after 50ms... so you can't add/remove views faster than 50ms, which obviously doesn't work in animations or any sophisticated UI.