Results 1 to 2 of 2

Thread: Having performance issues - ExtJS Classic 6.0.2

  1. #1
    Sencha Premium User
    Join Date
    Dec 2010

    Default Having performance issues - ExtJS Classic 6.0.2

    Hi guys,

    I have an application with lots of nested Containers inside Panels. The load time for the page is pretty bad. I am already using Ext.suspendLayouts and resumeLayouts which definitely helps but its still not in an acceptable state. I am looking for any ideas on how to render this sort of structure quicker.

    Right now the flow is -

    Loading Mask > construct my array for building the structure > suspendLayout > start adding the containers in a forEach loop > after everything's been added I resumeLayout > Hide Mask

    I am adding 30 containers like this which takes around 4 seconds just to render. Overall the page is taking 7-8 seconds to load/render completely.


    I was thinking rather than rendering everything at once, maybe there is a way I can render containers as they are added, that way users don't have to wait for 4 seconds to start interacting with the page. If you guys have any approach or plugins that might be useful in this kind of scenario then please let me know. Thank you.

  2. #2
    Sencha Premium Member
    Join Date
    May 2007
    Sydney, Australia


    Your best bet will be to use Chrome dev tools to profile it and find which functions are taking the most amount of time. Start from there. In my experience, you can save some time by deferring the destroy of components. For example, of the 7-8 seconds, half of that may be the destroy of the components before you render again.

Similar Threads

  1. Replies: 0
    Last Post: 11 Oct 2017, 5:39 AM
  2. [ExtJs 6.5.1 classic] TextArea performance issue
    By Armin Memisevic in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 13 Aug 2017, 11:17 PM
  3. Performance issues with ExtJS data store "add" and "sync"
    By gogreentn in forum Sencha Ext JS Q&A
    Replies: 0
    Last Post: 21 Mar 2017, 3:18 PM
  4. Replies: 1
    Last Post: 27 Feb 2014, 6:03 AM
  5. Replies: 5
    Last Post: 17 Jun 2013, 12:32 PM

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