473,396 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IE6 Garbage Collection and general IE6 slowness problems

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
5 2547
Is your app slow from the word Go, or does it degrade over time?
Jun 27 '08 #2
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ganesh | last post by:
Is there a utility by microsoft (or anyone) to force garbage collection in a process without have access to the process code. regards Ganesh
2
by: Oculus | last post by:
Before I get into the question -- I know .NET isn't the right solution for this app but it's part of my clients requirements and writing this in C++ isn't an option. That being said -- my app is a...
34
by: Ville Voipio | last post by:
I would need to make some high-reliability software running on Linux in an embedded system. Performance (or lack of it) is not an issue, reliability is. The piece of software is rather simple,...
2
by: C P | last post by:
I'm coming from Delphi where I have to explicitly create and destroy instances of objects. I've been working through a C#/ASP.NET book, and many of the examples repeat the same SqlConnection,...
28
by: Goalie_Ca | last post by:
I have been reading (or at least googling) about the potential addition of optional garbage collection to C++0x. There are numerous myths and whatnot with very little detailed information. Will...
84
by: jacob navia | last post by:
As many people know, I think that garbage collection is a good solution for many memory allocation problems. I am aware however, that nothing is "the silver bullet", not even the GC. A recent...
350
by: Lloyd Bonafide | last post by:
I followed a link to James Kanze's web site in another thread and was surprised to read this comment by a link to a GC: "I can't imagine writing C++ without it" How many of you c.l.c++'ers use...
3
by: timothytoe | last post by:
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...
109
by: jacob navia | last post by:
In an interviw with Dr Dobbs, Paul Jansen explains which languages are gaining in popularity and which not: <quote> DDJ: Which languages seem to be losing ground? PJ: C and C++ are definitely...
158
by: pushpakulkar | last post by:
Hi all, Is garbage collection possible in C++. It doesn't come as part of language support. Is there any specific reason for the same due to the way the language is designed. Or it is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.