Opened 12 years ago

Closed 11 years ago

#6689 closed defect (wontfix)

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

Reported by: guest Owned by:
Priority: high Milestone: 1.2
Component: Dijit Version: 1.0
Keywords: Cc: alex
Blocked By: Blocking:

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 (7)

comment:1 Changed 12 years ago by guest

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

comment:2 Changed 12 years ago by alex

Cc: alex added
Milestone: 1.2
Priority: highestnormal

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?

comment:3 Changed 12 years 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.

comment:4 Changed 12 years 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?

comment:5 Changed 12 years 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.

comment:6 Changed 12 years ago by Jared Jurkiewicz

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

comment:7 Changed 11 years ago by dylan

Resolution: wontfix
Status: newclosed
Summary: DOJO 1.0 IE6.0 Performance IssuesDOJO 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.