473,799 Members | 3,442 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2573
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...@7761 7270mail.netwro te:
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...@7761 7270mail.netwro te:
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...@7761 7270mail.netwro te:
>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...@gma il.comwrote:
On Jun 1, 4:55 pm, Dan Rumney <danrum...@7761 7270mail.netwro te:
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
810
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
1767
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 stock ticker using the managed DirectX libraries and the animation needs to be perfectly smooth. Problem is that the garbage collector will kick in from time to time and cause my render thread to miss a frame and makes it look like hell (even at...
34
6435
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, probably a few hundred lines of code in Python. There is a need to interact with network using the socket module, and then probably a need to do something hardware- related which will get its own driver written in C.
2
2118
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, SqlDataAdapter etc. objects, so I thought I'd create a class with a bunch of factory methods to create my classes for me. But, I'm unclear about how garbage collection works, and if it is safe to do this. It seems to compile, but am I asking for...
28
3191
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 this work be library based or language based and will it be based on that of managed C++? Then of course there are the finer technical questions raised (especially due to pointer abuse). Is a GC for C++ just a pipe dream or is there a lot of work...
84
3555
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 article in slashdot http://developers.slashdot.org/article.pl?sid=07/11/17/0552247 proves that.
350
11910
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 one, and in what percentage of your projects is one used? I have never used one in personal or professional C++ programming. Am I a holdover to days gone by?
3
275
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 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...
109
3976
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 losing ground. There is a simple explanation for this. Languages without automated garbage collection are getting out of fashion. The chance of running into all kinds of memory problems is gradually outweighing the performance penalty you have to
158
7910
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 discouraged due to some specific reason. If someone can give inputs on the same, it will be of great help. Regards, Pushpa
0
9544
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10238
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10030
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9077
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7570
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6809
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4145
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2941
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.