-
22 Jan 2010 4:36 AM #1
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
-
22 Jan 2010 6:55 AM #2
test case code would helpful for forming opinions and answers
-
22 Jan 2010 7:49 AM #3
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.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
22 Jan 2010 8:14 AM #4
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...
-
23 Jan 2010 6:56 AM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 33
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.

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
23 Jan 2010 9:37 AM #6
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
-
23 Jan 2010 9:48 AM #7Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 33
That's what happens when you depend on a 3rd part plugin/extension. :-\

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
23 Jan 2010 10:04 AM #8
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
-
24 Jan 2010 9:32 AM #9Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,170
- Vote Rating
- 33
I would like to say thanks - but hell no, I can't do it all by myself. Wish i could though.


Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
24 Jan 2010 10:40 PM #10
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
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.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


Reply With Quote