By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,968 Members | 1,541 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,968 IT Pros & Developers. It's quick & easy.

IE6 Garbage Collection and general IE6 slowness problems

P: n/a
Microsoft fixed some garbage collection problems in IE6 almost a year
ago. I'm trying to figure out if many users of IE6 are unpatched and
still have the old buggier JScript in them.

I have a rather large ECMAScript app that is speedy enough in just
about every browser but IE6. Some people tell me just to forget IE6,
but it still seems to have significant share at www.w3schools.com. And
anecdotally, the place my brother works (incredibly) still mandates
IE6 on company computers.

I have the feeling that I can't count on people having upgraded their
IE6s to the better GC JScript. If they were the upgrading type, seems
like they'd be using IE7 or another browser rather than IE6.

I'm sure it's uncool to tell IE6 users to use one of the browsers that
I wish they would use (but see the next paragraph for my thoughts on
this), so I'm looking for specifics on what I should and should not be
doing for IE6's sake, especially to ease or head-off garbage
collection problems. Do I explicit tear down objects and arrays at the
end of functions? Do I avoid closures? Anything else?

Uncool though it may be, I am tempted to throw IE6 users some kind of
warning that they're in for a long wait if they try something
especially ambitious. I could then offer them a way to speed things
up, like offering an Adobe AIR version and giving benchmarks of
different PC browsers performing the task. Thoughts on that tactic?
Jun 27 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Is your app slow from the word Go, or does it degrade over time?
Jun 27 '08 #2

P: n/a
On Jun 1, 4:55 pm, Dan Rumney <danrum...@77617270mail.netwrote:
Is your app slow from the word Go, or does it degrade over time?
Please quote enough of the post to which you are replying so that your
post is stand alone. Not all Usenet participants are using a threaded
reader.

Peter
Jun 27 '08 #3

P: n/a
On Jun 1, 4:55 pm, Dan Rumney <danrum...@77617270mail.netwrote:
Is your app slow from the word Go, or does it degrade over time?
I have problems on both fronts in IE6. From the get go and
degradation.

The user has control over the number of objects operated on and IE6 is
much worse than IE7 when the number of objects increases. I've
considered reducing the capabilities (max objects) when I detect a
slow browser, but that seems really cheesy, and I'd rather just get
the code as fast and clean as I can. For large numbers of objects, the
newest browsers do all their calculations and statistics in seconds.
IE6 is crazy slow.
Jun 27 '08 #4

P: n/a
timothytoe wrote:
On Jun 1, 4:55 pm, Dan Rumney <danrum...@77617270mail.netwrote:
>Is your app slow from the word Go, or does it degrade over time?

I have problems on both fronts in IE6. From the get go and
degradation.

The user has control over the number of objects operated on and IE6 is
much worse than IE7 when the number of objects increases. I've
considered reducing the capabilities (max objects) when I detect a
slow browser, but that seems really cheesy, and I'd rather just get
the code as fast and clean as I can. For large numbers of objects, the
newest browsers do all their calculations and statistics in seconds.
IE6 is crazy slow.
Although it's generally not advised, maybe this is one of the cases
where 'CollectGarbage()' could help.

http://groups.google.com/group/comp....cb27b343cd6da5
http://groups.google.com/group/comp....3c7c11f20ad185

--
Bart
Jun 27 '08 #5

P: n/a
VK
On Jun 2, 4:39 am, timothytoe <timothy...@gmail.comwrote:
On Jun 1, 4:55 pm, Dan Rumney <danrum...@77617270mail.netwrote:
Is your app slow from the word Go, or does it degrade over time?

I have problems on both fronts in IE6. From the get go and
degradation.

The user has control over the number of objects operated on and IE6 is
much worse than IE7 when the number of objects increases. I've
considered reducing the capabilities (max objects) when I detect a
slow browser, but that seems really cheesy, and I'd rather just get
the code as fast and clean as I can. For large numbers of objects, the
newest browsers do all their calculations and statistics in seconds.
IE6 is crazy slow.
The garbage collection mechanics of the JScript engine is explained by
Eric Lippert at
http://blogs.msdn.com/ericlippert/ar.../17/53038.aspx

Even more valuable details can be found in the blog comments,
including the upcoming changes of gc algorithms in IE8.

Without analyzing the actual application code you are having problems
with, it is hardly possible to say anything more practical.
Jun 27 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.