Opened 12 years ago

Closed 11 years ago

#4048 closed defect (wontfix)

IE6 slows down / chews up memory when creating lots of widgets

Reported by: bill Owned by: bill
Priority: high Milestone: 1.3
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

using benchTool.html to create 1000 widgets takes 40ms/widget, rather than 6ms like on other browsers. Should try to make it faster.

Attachments (1)

benchTool.patch (1.3 KB) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by bill

Summary: IE6 widget creation very slowIE6 slows down / chews up memory when creating lots of widgets

Creating 100 Buttons take 8.91ms/button, but 1000 takes about 30ms/button and memory shoots up by 20M.

comment:2 Changed 12 years ago by guest

I have run the bench test several times.

I am also seeing the ~20M Memory usage per 1000 buttons created.

It seems to be fine the first time, but after that jumps. The nodes from past tests are not being destroyed at the end of the test or before the next run, so the memory is not reclaimed.

Both tests are interesting, but are we testing creating 1000 widgets with a ~ empty DOM or are we testing creating 1000 widgets with a big DOM?

I made a change to the benchTool.html file that cleans the DOM after each test. The results remain around the 9-12 seconds for 1000 buttons for an ~ empty DOM.

Patch is included.

schallm

Changed 12 years ago by guest

Attachment: benchTool.patch added

comment:3 Changed 12 years ago by bill

Milestone: 0.91.0

comment:4 Changed 12 years ago by bill

Milestone: 1.02.0

comment:5 Changed 11 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:6 Changed 11 years ago by bill

Description: modified (diff)
Resolution: wontfix
Status: newclosed

Given the time this ticket has been open, and general movement from IE6 to IE7 (including an automatic push from Microsoft, IIRC), unlikely we will address this issue.

Note: See TracTickets for help on using tickets.