struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pablo Vázquez Blázquez <pvazq...@denodo.com>
Subject Re: Tabbed panel performance
Date Tue, 18 Nov 2008 08:33:25 GMT
Any idea about why am I getting increasing response times each time I 
access to the page?

I have already a great response time the first time I access to the page 
(which is also a problem), but my main problem is that after 6 or 7 
accesses it in unmanageable...

Thanks!


Pablo Vázquez Blázquez escribió:
> Hi all,
>
> I have a jspx with the following s:tabbedpanel:
>
> <!-- TABS -->
> <s:tabbedPanel id="jobTabs" doLayout="false" theme="simple">
>
>    <!-- EXTRACTION SECTION -->
>    <s:div id="extractionTab" cssClass="tab" 
> label="%{getText('EditJob.ExtractionSection')}" theme="ajax">
>        <jsp:directive.include file="ExtractionSectionARN.jspf"/>
>    </s:div>
>      <!-- FILTER EXPORTER SECTION -->
>    <s:div id="exporterTab" cssClass="tab" 
> label="%{getText('EditJob.FilterExporterSection')}" theme="ajax">
>        <jsp:directive.include file="FilterExporterSection.jspf"/>
>    </s:div>
>
>    <!-- HANDLERS SECTION -->
>    <s:div id="handlersTab" cssClass="tab" 
> label="%{getText('EditJob.HandlersSection')}" theme="ajax">
>        <jsp:directive.include file="HandlerSection.jspf"/>
>    </s:div>
>
>    <!-- TRIGGERS SECTION -->
>    <s:div id="triggersTab" cssClass="tab" 
> label="%{getText('EditJob.TriggersSection')}" theme="ajax">
>        <jsp:directive.include file="TriggerSection.jspf"/>
>    </s:div>
>
> </s:tabbedPanel>
>
> The more I access to this page, the more it takes to be loaded.... 
> Some times, it appears a firefox alert, asking me if continue 
> executing an script that takes so much time or cancel it. I have 
> profiled it using firebug and here are some results:
>
> nameAnonFunc()     207     63.85%     4147.991ms     4246.583ms     
> 20.515ms 16.399ms     76.873ms     dojo.js (línea 1505)
> createNodesFromText()     102     6.42%     417.12ms     479.95ms     
> 4.705ms 3.096ms     51.62ms     dojo.js (línea 3909)
> parseElement()     1234     4.43%     287.682ms     521.91ms     
> 0.423ms     0ms 244.949ms     dojo.js (línea 7080)
> (?)()     1     2.88%     186.815ms     3423.747ms     3423.747ms     
> 3423.747ms 3423.747ms     dojo.js (línea 12167)
> replaceNode()     104     2.43%     158.156ms     158.156ms     
> 1.521ms     0.151ms 30.545ms     dojo.js (línea 2201)
> createWidget()     102     1.92%     124.997ms     1017.089ms     
> 9.971ms     2.181ms 80.041ms     dojo.js (línea 10415)
>
>
> Is there any tip to improve the performance of the tabbedpanel?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message