PDA

View Full Version : patch for doLayout() performance improvement?



ahcne
10 May 2012, 11:00 AM
according to this slideshow: http://www.slideshare.net/senchainc/layouts-5971880
it looks like Ext JS 4 has hugely improved doLayout() performance.

I do have around 100 panels using inside a FormPanel using Ext.layout.FormLayout (http://extjs.cachefly.net/ext-3.1.1/docs/output/Ext.layout.FormLayout.html) .
And, doLayout() takes over 4 seconds.

Is there a patch that makes doLayout() perform faster?

I am stuck with Ext JS 3.1.1 and I cannot use other version of Ext JS at the moment.

scottmartin
14 May 2012, 6:57 AM
Are you bound to 3.1.1 vs 3.4 (latest), or were you referring to 3 vs 4 upgrade?

Regards,
Scott.

ahcne
14 May 2012, 3:59 PM
I am stuck with 3.1.1 because that's the version this CMS ships. If I could upgrade to 3.4, would it be faster? For now, I "paginated" 100 panels so that only 5 panels are shown at a time.

scottmartin
14 May 2012, 4:29 PM
There are enhancements in 3.4, but I cannot tell you the degree based on a specific layout.

Scott.