1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default Speed of 3.1 apps slower than 2.2?

    Speed of 3.1 apps slower than 2.2?


    I am definitely seeing a very noticeable difference in load times of pre-configured components under 3.1 as they are loaded for the first time into my application panel area. 2.2 seems MUCH crisper when using the exact same code base to switch between these components.

    Anybody else seeing this? Is there a trick to speedng up 3.1 component load times? Are there new "no-no" or any gotchas that we now have to avoid in 3.1 that will impact performance?

    Thanks

  2. #2
    Sencha User
    Join Date
    Jan 2008
    Location
    Maryville, IL, US
    Posts
    288
    Vote Rating
    0
    httpdotcom is on a distinguished road

      0  

    Default


    test case code would helpful for forming opinions and answers

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    The performance of Component rendering and layout is being looked at as a priority right now.

    The 3.1.1 release will specifically address this issue.

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default


    Thank you Animal. I was getting worried.

    @http,
    I didn't see the point in posting any code as it's the exact same code in both instances and it's very fast under 2.2 and a definitely slower in 3.1.

    Thanks...

  5. #5
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    The work done by @Meroy has been amazing. I've seen first hand how many improvements can be made. I'm glad the team (and senior community members, such as @Animal) are looking at it.

  6. #6
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default


    Although I'm sure this question has already been asked plenty of times, is there any idea on exactly when the 3.1.1 release may happen?

    Was in the middle of upgrading an app to 3.1.0 when I discovered the MIF extension issue where it's not going to be updated until a stable release of 3.1.1 comes out. So I'm kinda stuck in limbo land as the app makes extensive (no pun intended) use of the MIF. It would just be nice to have a ball-park guestimate of projected release date.

    Thanks

  7. #7
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    That's what happens when you depend on a 3rd part plugin/extension. :-\

  8. #8
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
    Bucs is on a distinguished road

      0  

    Default


    True, but that is also why the framework is so valuable, so that you can use off the shelf functionality that does incredible things without having to write it all yourself from scratch. The ability to extend the framework with community controls is a major selling point of ExtJS. So if you aren't using ANY of the extensions to accomplish certain UI tasks, and are programming them all yourself, then you're the man. I've watched your vids, so I know you CAN do it all yourself, but from an profitability perspective, why would you want to? Getting temporarily handcuffed by extensions during the upgrade path of ExtJS is a necessary evil, but is still worth the trade off imo.

    I wasn't b!tch!ing about the control dependence or even the release date, just trying to get an idea on timing. I can resume coding on the 2.2 app and port those files over when 3.1.1 is available, so not REALLY in limbo land like I claimed

  9. #9
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Vote Rating
    77
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    I would like to say thanks - but hell no, I can't do it all by myself. Wish i could though.

  10. #10
    Sencha User
    Join Date
    Jun 2009
    Posts
    750
    Vote Rating
    0
    meroy is on a distinguished road

      0  

    Default


    It appears that progress is being made in the current trunk. However, resizing is now bad with it -- try resizing the examples/portal/portal.html demo.

    It goes back and forth. Resizing was fine with build 5931, but rendering was bad with it. Now, rendering is back with 5933+, but resizing may suffer for some apps with this one.

    There are pairs below. The first of which are 10 tabs followed by another 10 tabs. This was done for all four (Basic Forms, Forms with HTML Editor, Grids and Form/Table combination). The latter is very expensive to render.

    Code:
    ##
    ## Safari 4.0.4 on Leopard @ 2.40 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   0.313   0.323   0.360   0.361   0.332
    Basic   0.300   0.338   0.341   0.319   0.312
     
    HTML    0.483   0.566   0.559   0.564   0.504
    HTML    0.497   0.575   0.584   0.585   0.517
     
    Grid    0.373   0.358   0.355   0.365   0.338
    Grid    0.344   0.321   0.311   0.328   0.304
     
    Table   0.935   1.146   1.705   1.252   1.000
    Table   0.929   1.150   1.722   1.263   1.001
    =====  ======  ======  ======  ======  ======
    Total   4.174   4.777   5.937   5.037   4.308
    Code:
    ##
    ## Google Chrome 4.0.249.49 on Leopard @ 2.40 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   0.373   0.373   0.400   0.379   0.346
    Basic   0.391   0.359   0.377   0.359   0.354
     
    HTML    0.508   0.597   0.611   0.618   0.529
    HTML    0.534   0.701   0.709   0.721   0.565
     
    Grid    0.334   0.306   0.310   0.313   0.308
    Grid    0.343   0.333   0.335   0.333   0.321
     
    Table   1.112   1.297   1.811   1.429   1.155
    Table   1.046   1.452   2.054   1.481   1.148
    =====  ======  ======  ======  ======  ======
    Total   4.641   5.418   6.607   5.633   4.726
    Code:
    ##
    ## Firefox 3.5.7 on Leopard @ 2.40 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   1.280   1.395   1.605   1.402   1.374
    Basic   1.291   1.403   1.660   1.417   1.388
     
    HTML    1.711   1.903   2.006   1.843   1.850
    HTML    1.838   2.007   2.133   1.957   1.960
     
    Grid    0.935   0.925   0.937   0.946   0.915
    Grid    0.959   0.952   0.968   0.980   0.959
     
    Table   2.668   2.764   3.241   2.814   2.762
    Table   2.668   2.879   3.398   2.977   2.903
    =====  ======  ======  ======  ======  ======
    Total  13.350  14.228  15.948  14.336  14.111
    Code:
    ##
    ## Firefox 3.6.0 on Leopard @ 2.40 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   1.099   1.186   1.414   1.198   1.179
    Basic   1.113   1.172   1.416   1.215   1.175
     
    HTML    1.522   1.740   1.861   1.680   1.713
    HTML    1.617   1.813   1.924   1.758   1.739
     
    Grid    0.856   0.871   0.875   0.881   0.874
    Grid    0.887   0.885   0.897   0.924   0.899
     
    Table   2.655   2.715   3.126   2.687   2.663
    Table   2.850   2.891   3.273   2.881   2.757
    =====  ======  ======  ======  ======  ======
    Total  12.599  13.273  14.786  13.224  12.999
    Code:
    ##
    ## Internet Explorer 6.0 on Windows XP @ 2.66 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   1.157   1.187   1.329   1.156   1.140
    Basic   1.328   1.343   1.563   1.343   1.313
     
    HTML    1.672   1.719   1.734   1.719   1.672
    HTML    1.984   2.078   2.078   2.125   1.984
     
    Grid    0.688   0.609   0.656   0.609   0.610
    Grid    0.859   0.766   0.766   0.766   0.750
     
    Table   3.875   4.312   4.547   4.329   3.906
    Table   5.907   9.843   8.500   8.110   7.406
    =====  ======  ======  ======  ======  ======
    Total  17.470  21.857  21.173  20.157  18.781
    Code:
    ##
    ## Internet Explorer 8.0 on Windows 7 @ 2.66 GHz
    ##
     
    Test    3.0.3   3.1.0   R5931   R5937   BLDD3
    =====  ======  ======  ======  ======  ======
    Basic   0.577   0.655   0.718   0.671   0.655
    Basic   0.718   0.811   0.858   0.733   0.718
     
    HTML    0.904   0.951   0.967   0.983   0.951
    HTML    1.123   1.138   1.232   1.155   1.014
     
    Grid    0.453   0.452   0.452   0.452   0.453
    Grid    0.592   0.593   0.593   0.592   0.577
     
    Table   2.231   2.106   2.308   2.028   1.966
    Table   3.229   3.026   2.715   2.465   2.153
    =====  ======  ======  ======  ======  ======
    Total   9.827   9.732   9.843   9.079   8.487
    Code:
    As stated above, resizing is bad again with SVN 5933+.
     
    Rel 3.0.3 : 11,116 calls
    Rel 3.1.0 :  7,596 calls
    SVN 5931  :  5,674 calls
    SVN 5933  :  7,048 calls (resize the portal example to see)
    Build D3  :  5,272 calls
    The surprise here for me was in seeing the BLD D3 results under IE 8. The same goes with the Safari/Chrome/AIR results. Firefox also benefits too, but not as much.