Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6557] iOS: Improve view rendering speeds on add

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
ComponentsiOS
Labelscore, tbs-1.9.0
ReporterStephen Tramer
AssigneeIngo Muschenetz
Created2011-12-10T13:33:53.000+0000
Updated2015-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 */ });).

Comments

  1. Jeff Haynie 2011-12-10

    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.

JSON Source