Results 1 to 5 of 5

Thread: Store and Grid Poor Performance Windows 8

  1. #1
    Sencha Premium Member
    Join Date
    Oct 2012
    Location
    Sutton, UK
    Posts
    49
    Answers
    1
    Vote Rating
    1
      0  

    Default Store and Grid Poor Performance Windows 8

    I have a system which has a reasonable large store (less than 1000 entries) and loads this store into a grid panel. On my mac running all browsers it runs fine and performs admirably (generally under 4 seconds to display the panel on screen).

    However, when running on a Windows 8 machine using IE10 the exact same grid panel can take up to 30 minutes to render on screen instead of 3 or 4 seconds.

    I have played around with store features such as the purgePageCount and PageSize with no success.

    Just wondering if anyone else has suffered similar performance issues and can shed any light on how to improve the performance.

    Thanks in advance for your help.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    If you have 1000 records, are you using buffered or infinite grids?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Apr 2008
    Posts
    411
    Answers
    1
    Vote Rating
    76
      0  

    Default

    Can you try the Chrome and/or FireFox on the Win8 machine and post the results?

  4. #4
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,790
    Answers
    583
    Vote Rating
    391
      0  

    Default

    Testing against other versions of IE could also be interesting.

    If it's a problem with IE 10 only then it may be fixed in 4.2.0. That hasn't been released yet but there's a beta available if you want to confirm.

    4.2 will also have buffered rendering, which should help with 1000 records, but you should be able to do much better than 30 minutes for 1000 records even with standard grid rendering. 30 minutes is ridiculous.

  5. #5
    Sencha Premium Member
    Join Date
    Oct 2012
    Location
    Sutton, UK
    Posts
    49
    Answers
    1
    Vote Rating
    1
      0  

    Default

    Only issue is with IE10. I have a buffered grid.

    Yes 30 minutes is ridiculous. Also as I am loading the whole data set even when displaying a small number of records the load time can be upto 20 minutes.

    The code for my store is

    Code:
    this.mAlertStores[title]=Ext.create('Ext.data.Store', {
                autoLoad : false,
                fields   : [
                    {name: 'alert_id', type: 'int'},
                    {name: 'source_id', type: 'auto'},
                    {name: 'external_id', type: 'auto'},
                    {name: 'manager', type: 'auto'},
                    {name: 'source', type: 'auto'},
                    {name: 'class', type: 'auto'},
                    {name: 'agent', type: 'auto'},
                    {name: 'agent_location', type: 'auto'},
                    {name: 'type', type: 'auto'},
                    {name: 'severity', type: 'int',convert: severityConverter},
                    {name: 'significance', type: 'int',convert: significanceConverter},
                    {name: 'count', type: 'int'},
                    {name: 'description', type: 'auto'},
                    {name: 'first_occurred', type: 'int' },
                    {name: 'last_occurred', type: 'int'},
                    {name: 'agent_time', type: 'int',convert: dateConverter},
                    {name: 'state', type: 'int',convert: statusConverter},
                    {name: 'owner', type: 'int', convert: uidToUsername},
                    {name: 'entropy', type: 'float'},
                    {name: 'sig_list', type: 'array'}
                ],
                pageSize: 150,
                buffered: true,
                purgePageCount: 0,
                remoteSort: true,
                proxy    : {
                    type            : 'ajax',
                    //
                    // Thanks to IE we now omit this to force a GET request
                    //actionMethods   : MOOG.mAjaxMethod,
                    extraParams     :   {
                                            request: "loadScopedAndFilteredAlerts",
                                            filter: filterString,
                                            sessionId: MOOG.mSessionId
                                        },
                    url             : MOOG.mParameters.appServerUrl(),
                    reader: {
                        type    : 'json',
                        root    : 'alerts',
                        totalProperty: "total"
                    }
                }
    Thanks for all the responses so far.

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
  •