Results 1 to 2 of 2

Thread: Sencha Touch - Performance and Responsiveness

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Vote Rating

    Default Sencha Touch - Performance and Responsiveness

    I have a few fundamental questions about the performance of SenchaTouch based apps. Please refer to this article by LinkedLN team on how they improved the performance of their HTML5 app by hand coding DOM Manipulations :-
    In the context of this article I see two issues with Sencha Touch :-
    1. Sencha Touch builds its UI by converting javascript objects into Dom Nodes and adding them into the Dom Tree. Chrome Tools will show that it ends up adding a relatively high number of DIVs and other DOM elements to the Dom tree. Wouldnt this have a detrimental effect on the performance.
    2. Most of the Dom nodes in the Sencha UI are generated by Sencha API code and not from markup. If we write code to directly manipulate these Dom elements, can we be sure that it will not produce any side effects ?

  2. #2
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Odessa, Ukraine
    Vote Rating


    Sencha Touch allows you to manipulate of app DOM tree. You can implement own strategy of how to work with tons of your application's DOM elements. You can remove and put to cache unused DOM elements and restore them if it necessary.

    Of course if you manipulate DOM nodes directly when you can expect any side effects. You should investigate how your manipulation affect on Sencha framework.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts