[richfaces-issues] [JBoss JIRA] Commented: (RF-1717) Huge performance problem with the calendar component in IE 6

Wim Bervoets (JIRA) jira-events at lists.jboss.org
Tue Jan 15 10:35:19 EST 2008


    [ http://jira.jboss.com/jira/browse/RF-1717?page=comments#action_12395166 ] 
            
Wim Bervoets commented on RF-1717:
----------------------------------

I've tried with the 3.1.x version. Here are my findings:

My testcase consists of 6 calendar components on one page. (and no other components)

- performance has definitely been improved on IE6. Where it took around 2sec per inputfield (with attached calendar component) previously, it now takes around 1 à 1.5sec for the 6 inputfields to render as a whole.
So it is still not instantaniously rendered but a lot better.. What's strange though is, that if I press F5 to refresh the page, the speed reverts to the old pre-fix timings. Not sure why.

I've been looking at the generated HTML and noticed that the Javascript is being included after each inputfield (eg. once for each calendar):

At http://developer.yahoo.com/performance/rules.html#js_bottom they recommend to put JS at the bottom of the page if possible:

"With scripts, progressive rendering is blocked for all content below the script. Moving scripts as low in the page as possible means there's more content above the script that is rendered sooner."

I've tried this and the rendering of the inputboxes is then instantanuous. But my cpu load still goes to 100% for a few seconds when the new Calendar()'s are being done just before the </body> tag.

I hope this information is usefull for you.

Thanks already for the quick fixes!
Wim




> Huge performance problem with the calendar component in IE 6
> ------------------------------------------------------------
>
>                 Key: RF-1717
>                 URL: http://jira.jboss.com/jira/browse/RF-1717
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.3
>         Environment: IE v6.0.2900.2180.xpxp_sp2_rtm.040803-2158
> Firefox v2.0.0.11
> JSF RI 1.2_07 
> Facelets 1.1.13 
> Seam 1.2.1 
> Richfaces 3.1.3 
> WebSphere v6.1.0.13 
>            Reporter: Denis Forveille
>         Assigned To: Pavel Yaschenko
>            Priority: Critical
>             Fix For: 3.2.0, 3.1.4
>
>
> We have a huge performance problem with the calendar component in v3.1.3 and IE (version v6.0.2900.2180.xpxp_sp2_rtm.040803-2158)
> It can take 10 to 30 seconds for IE to display a page that contains with a rich:calendar component where the IE process is using 100% of the cpu
> The problem does not occur with firefox v2.0.0.11
> Also if we look at the memory usage of the IEXPLORE process, that grow constantly each time we click on a page that use that component, it seems also that a memory leak is occurring

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the richfaces-issues mailing list