Page 1 of 6 123 ... LastLast
Results 1 to 10 of 54

Thread: ExtJs 4 - SLOW AS HELL

    Due to the impact related to this issue, we have to defer this issue to the next major or minor release.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    6

    Exclamation ExtJs 4 - SLOW AS HELL

    ExtJs 4.0.2 - problem solved.. tnx to Sencha Dev team!

    -------------------------------------------

    First of all, i want to tell that i love ExtJS. It's coolest framework i ever seen in my entire life

    But..

    ExtJs 4 (4.0.1) is SLOW AS HELL! Much more slower that ExtJs 3 (3.3.3).
    I made an example app, to prove that i'm right. Nested grid with 50 records in local Store.

    Code:
     
    //start point
     Ext.onReady(function () 
    {
        Ext.create('Ext.Viewport', 
        {
         layout: 
         'fit',
         padding: 8,
         items: 
         [{
         items: 
         [{
         items: 
         [{
         items: 
         [{
         items: [{
             xtype: 'gridpanel',
             store: MainStore,
             columns: 
             [{
                 text: 'ID',
                 dataIndex: 'id',
                 width: 50
             },{
                 text: 'Name',
                 dataIndex: 'name',
                 flex: 1
             },{
                 text: 'Partner',
                 dataIndex: 'partner',
                 flex: 2
             },{
                 text: 'Address',
                 dataIndex: 'address',
                 flex: 1
             },{
                 text: 'City',
                 dataIndex: 'city',
                 flex: 1
             },{
                 text: 'State',
                 dataIndex: 'state',
                 width: 50
             }]
        }]
        }]
        }]
        }]
        }]
    });
    });
    Firefox 3.6.17
    ExtJs 4.0.1 - 10 seconds to load grid!!! (local store)
    ExtJs 3.3.3 - less then 1 second (local store)

    10 times slower!!! o_O

    IE9
    ExtJs 4.0.1 - 1 second (local store)
    ExtJs 3.3.3 - less then 1 second (local store)

    almost 2 times slower!!!

    Chrome
    ExtJs 4.0.1 - 1 second (local store)
    ExtJs 3.3.3 - less then 1 second (local store)

    almost 2 times slower!!!

    VIDEO: http://cid-a1de71e9f2ae2f82.office.l...2016.49.50.wmv
    (slow one is ExtJs 4.0.1)

  2. #2
    Sencha User
    Join Date
    Oct 2010
    Posts
    17

    Default

    +1 of course, but the subject is being discussed here:

    http://www.sencha.com/forum/showthre...-to-extjs-3%29

  3. #3
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045

    Default

    +1 on both your points. It's starting to look like next patch (4.0.2) will drop soon... poster in another thread looked at the extjs version that the doc site is using, and it says 4.0.2...

    stevil

  4. #4
    Ext JS Premium Member
    Join Date
    Jul 2010
    Location
    UK
    Posts
    534

    Default

    Yep, looks like 4.0.2 is almost here. I have faith in the EXTJS dev team that they will get the performance issues sorted soon. 4.x's future is dependant on them fixing the issues and incentives don't come bigger than that!

  5. #5
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045

    Default

    Quote Originally Posted by MrSparks View Post
    Yep, looks like 4.0.2 is almost here. I have faith in the EXTJS dev team that they will get the performance issues sorted soon. 4.x's future is dependant on them fixing the issues and incentives don't come bigger than that!
    Definitely agree with you that they'll fix the issues - it's just a little frustrating, because in order to get good information (from Ed, Jacky, etc.), you have to know EXACTLY which threads to subscribe. I'd really love to see them start a sticky status thread where devs, architects, managers, etc., can let us know in one place about progress, major issues that are being worked, etc.

    stevil

  6. #6
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    198

    Default

    Saw the thread with the 4.0.2 informations too and was wondering why I missed the new release.

    Devs are working on new Sencha Touch version or whatever. No one is tagging reported and confirmed bugs or helping the users just one bit. The forum is completely overrun with open, unanswered questions. No structure in the forum and any kind of response in several very important threads (like the performance threads). Don't know if this is a good way to go...

  7. #7
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    Interesting... Using a Viewport with 3 regions, North, West, Center.

    North has 3 Components, 2 Buttons, 2 TextFields,

    West is a Container with a Template that gets filled with Data. Also has a single Panel.

    Center starts off with a Container housing 3 Grids.

    This all starts up in under a second, seems like half a second on Chrome 12, FF 4/5, Safari 5. Looks almost instantly. Oh, and this is using the debug version so it will be even faster in production.

    Ext JS 4 is going to be slower at startup however in any test case I have personally built I don't see these performance issues people are complaining about. I'm not saying there are no performance issues, I'm just not seeing them.

    About 4.0.2, you should know by now we are pretty secretive Ed did leak a timeframe which is rapidly approaching.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  8. #8
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045

    Default

    @Mitchell,

    I think that some of it may have to do with autosizing of the columns, either through forceFit on the grid, or flexing the column definitions.

    Also, I notice that you didn't mention what the performance was like in IE8?

    stevil

  9. #9
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,450

    Default

    Quote Originally Posted by stevil View Post
    @Mitchell,

    I think that some of it may have to do with autosizing of the columns, either through forceFit on the grid, or flexing the column definitions.

    Also, I notice that you didn't mention what the performance was like in IE8?

    stevil
    I use forceFit and flex on my grids.

    I have a Mac so of course I cannot test IE unless crippled in VirtualBox or something which I will not state if it's slow there or not as it's not a reliable platform to run a benchmark on.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  10. #10
    Sencha User
    Join Date
    Mar 2011
    Posts
    6

    Default

    I'm just not seeing them.
    Watch the video.. it's a very bad live position "You Don't Exist If I Don't See You".. the problem is there! If developers don't see it, it dosn't mean that problem do not exist (IMHO)

Page 1 of 6 123 ... LastLast

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
  •