Results 1 to 2 of 2

Thread: GXT Layout container internally calls forcelayout/doLayout taking much time.

  1. #1
    Sencha User
    Join Date
    Jun 2014
    Posts
    3

    Default GXT Layout container internally calls forcelayout/doLayout taking much time.

    Hi,
    We built our app using GXT 3.0 .
    As we are monitoring the performance of the application, specifically when for the activity of opening a Window with complex layout structure on click of a button ( sort of overlay)


    Our layout structure (written in UIBinder) looks like this

    --BorderLayoutContainer
    -- center :
    -- content panel
    -- VLC
    --FieldSet
    --VLC

    --Cutom Widget/Ccomponent(which is built using composite)

    Given the above structure when i saw the profiling statistics with IE8 developer tools , i saw following hotstpots,

    1. Number of fields per overlay /no-brainer more the number of fields more is time taken
    2. GXT Layout forceLayout / doLayout calls from schedule finally taking about 2 seconds (1892 ms in the below attachment)

    As we are closely working on point 1 to reduce the number of fields per window as much as possible,
    we want to focus on how to reduce the high number of calls to forceLayout/doLayout methods internally called from layout container framework.

    I have attached screen shot of the statistics for layout calls

    schedule_finally_forcelayoutDoLayout.jpg

    Any help/advice is highly appreciable in this regard.

    Thanks.

  2. #2
    Sencha User
    Join Date
    Jun 2014
    Posts
    3

    Default

    Can anyone please suggest /advice on this ?

Similar Threads

  1. Replies: 2
    Last Post: 16 Apr 2014, 1:40 PM
  2. Replies: 6
    Last Post: 29 Apr 2013, 7:10 AM
  3. Ext.getCmp('id').doLayout() taking high execution time
    By kavismile_2004 in forum Sencha Ext JS Q&A
    Replies: 11
    Last Post: 20 Dec 2011, 10:58 AM
  4. Multiple doLayout calls
    By varsos in forum Sencha Ext JS Q&A
    Replies: 5
    Last Post: 4 Oct 2009, 12:21 AM
  5. Unnecessary doLayout() calls by Ext.layout.ContainerLayout.configureItem()?
    By pinecone_web in forum Ext 3.x: Help & Discussion
    Replies: 12
    Last Post: 12 Aug 2009, 4:40 PM

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
  •