Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    davija is on a distinguished road

      0  

    Default [OPEN-EXTJSIV-183] Slow container creation and browser crashing.

    [OPEN-EXTJSIV-183] Slow container creation and browser crashing.


    I have been working on an example for testing performance of object creation and eventing. I have a script that seems to work well, but it's horribly slow and actually kills something in the browser at some point.

    I have attached a zip that contains my JS files (as well as ext) and the html loading page.

    This essentially creates 150 containers with a text box & button. Clicking on a button causes a label change in the next box and clicks on that button.

    This should all load fairly quickly, but takes so long to create the boxes that the browser tags it as unresponsive. You can let it continue, but it only ever gets 140 created. If you have the dev tools (in IE) open, it will crash the browser at 140 items.
    Attached Files

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    We still have much optimization to do, particularly with framework initialization and layouts. This will be quite helpful, thank you for the sample.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    davija is on a distinguished road

      0  

    Default


    The optimization was only one aspect here. The other was that it breaks and stops in IE after only 140 panels. There seems to be no indication of why it failed either.

    It seems to show up fine in chrome (although it is slow there too).

    Thanks for the quick reply!

  4. #4
    Sencha User
    Join Date
    Mar 2011
    Posts
    5
    Vote Rating
    0
    davija is on a distinguished road

      0  

    Default


    I did find a short-term workaround for this (as the logic is, it works on 3.3 with namespace changes). In the viewport config block, adding suspendLayout: true and then setting to false at the end and forcing a manual layout allows this to work. After doing this, all 150 blocks show up and the time consumed is much more realistic.

  5. #5
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    I will have to check through how you are adding items to the container. This may be a case where you want to control it manually like this. Which is what suspendLayout is for.

Similar Threads

  1. [FIXED-EXTJSIV-190] TabCloseMenu
    By James Goddard in forum Ext:Bugs
    Replies: 2
    Last Post: 7 Apr 2011, 5:35 AM
  2. Replies: 2
    Last Post: 18 Mar 2011, 2:11 PM
  3. Designer slow to open and slow to load data
    By scottco in forum Ext Designer: Bugs
    Replies: 8
    Last Post: 14 Jul 2010, 8:21 AM
  4. browser window crashing in IE while opening FCK editor in window.
    By rockys in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 19 Jun 2009, 2:17 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi