users@woodstock.java.net

Calendar component slow to render in IE6/IE7

From: Alex Sherwin <alex.sherwin_at_acadiasoft.com>
Date: Thu, 19 Jun 2008 10:07:35 -0400

Hello,

 

I'm working on webapp that uses calendars for a lot of fields.
Unfortunately, the end users will primarily be using IE6/IE7 and that
Woodstock calendar component seems to add about 4-5s (each!) to the page
render time (i.e. 3 calendars adds ~ 12-15s on page render time). I realize
that this is occurring at the time that the page has been downloaded to the
end users browser, and the dojo framework begins to invoke the JS that
draws/renders the DOM for each component on the page.

 

The times I list (4-5s per calendar component) is on my dev machine (XP Pro,
IE6 and IE7, 4GB RAM, 2.8GHz Core 2 Duo Extreme). I'm scared to think how
long each of those calendars would take to render on the average workstation
running IE6/IE7 that is probably < 1GB RAM, with < 2GHz single core
machines.

 

Is there anything I can do to make the calendar do less JS work when the
page is drawn? I've resorted to using three dropdowns for day/month/year on
pages that get rendered often because the user experience is too slow using
calendars.

 

 

Alex Sherwin

alex.sherwin_at_acadiasoft.com