Ticket #6689 (closed defect: wontfix)

Opened 3 months ago

Last modified 6 weeks ago

DOJO 1.0 IE6.0 Performance Issues with Many Dialogs Instantiated on Page Load

Reported by: guest Owned by:
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.0
Severity: normal Keywords:
Cc: alex

Description

Hi,

We are using DOJO 1.0.2. On our page we have approximately 15-20 Dialogs. All these Dialog have to be loaded when the page loads up first.

The page loads up in 2-4 seconds in FF but in IE6.0 it take an enormous time of 30 secs.

We checked for performance at server side. There seems to be no issue on server side.

Is this a known issue with DOJO? It would be great if there some workaround/help for this.

Thanks, Hrishikesh

Change History

Changed 3 months ago by guest

Basically the content of each Dialog is more DOJO widgets like Titlepanes and Slider.

Changed 3 months ago by alex

  • cc alex added
  • priority changed from highest to normal
  • milestone set to 1.2

when you say that the dialogs all need to be loaded on when the page loads, does that mean they're *opened* when the page starts up? or just created?

Changed 3 months ago by guest

I mean they have all to be created on page load. Then then each of them can be opened/showed based on click of particular links.

Changed 3 months ago by guest

Can I use parseOnLoad:false and then when I need to diaply the dialog call dojo.parser.parse(dijit.byId('dialog1')) ? is this possible?

Changed 3 months ago by bill

Yes, you can do that (although it's dojo.byId('dialog1') not dijit.byId(...)). And perhaps you need to specify the parent node for dialog1 rather than dialog1 itself; I can't remember. As for fixing the actual performance issue (assuming it's a bug rather than just a limitation of IE), you could attach a test case here using the "attach file" button. Not sure if there's an easy fix or not though.

Changed 3 months ago by jaredj

(In [13635]) More fixes related to moved files. Reference patch: dojox.presentation.patch refs #6689

Changed 6 weeks ago by dylan

  • status changed from new to closed
  • resolution set to wontfix
  • summary changed from DOJO 1.0 IE6.0 Performance Issues to DOJO 1.0 IE6.0 Performance Issues with Many Dialogs Instantiated on Page Load

In general, you don't want to instantiate an unnecessary number of widgets on page load. Since you can only display one dialog at a time, reuse is highly recommended, especially got IE 6. There's not much we can do to fix IE 6 more than we have in this case, so closing as wontfix.

Note: See TracTickets for help on using tickets.