Having been exposed to an application at work that uses a lot of JavaScript, I fully appreciate what some mean when they talk about IE6’s inefficient handling of JavaScript. After seeing a web page taking an age to reload and your CPU taking a hammering because of JavaScript processing, the penny does tend to drop… Needless to say, this very much impacts the world of AJAX-driven web applications with their heavy dependence of client-side JavaScript. While IE7 does come to the rescue, there remain plenty of IE6 users still out there and this is reflect in website statistics. This reflects a certain level of inertia in the browser market that not only afflicts the uptake of IE7 but also the likes of Mozilla, Opera and Safari. It also means that anyone developing AJAX applications very much needs to continue testing in IE6, especially if the product of their labours is for wider public use. An example of such an application is Zimbra, an open source web application for messaging and collaboration, and the people behind it have generously share the results of their browser performance benchmarking. They did comparisons of IE6 vs. IE7 and Firefox 2 vs. IE7. IE6 easily came out as the worst in these while Firefox 2 was the best. I suppose that the next question to be asked centres around the type of code that is processed inefficiently by IE6. I wouldn’t be at all surprised if a list emerged but here’s one: using Microsoft’s proprietary innerHTML object to update the DOM for a web page format. Having a quick trawl on Google, this came up for mention as a cause of memory leaks. It is also a Microsoft innovation that never got taken up by those overseeing web standards, hardly a surprise since a spot of DOM scripting achieves the same end. It may be faster to code than any alternatives, and it does have some support from other browsers, but it does seem to have got a bad name and so should be avoided if possible. That said, it would be interesting to see a performance comparsion between innerHTML and DOM methods in IE6.
Topics Discussed
Adobe Blog Blogging Canon Command Line CSS Debian Fedora Firefox GNOME Google hard drive Hardware Installation Internet Explorer JavaScript Linux Microsoft MySQL openSUSE Opera Operating System Perl Photoshop Photoshop Elements PHP plugin SAS Software Ubuntu UNIX upgrade VirtualBox Virtualisation Virtual Machine Vista VMware Web Browsers Windows Windows XP WordPress WordPress.com WordPress plugins XHTML XP
Twitter Updates
- GR Shared Items: AudioBox Puts Your Music Library in the Cloud So It's Accessible Anywhere [Media Players] http://ow.ly/16wYGo 7 hrs ago
- GR Shared Items: Quickly Backup Your Firefox Profile with about:support [Firefox Tip] http://ow.ly/16wYGp 7 hrs ago
- GR Shared Items: Modified Tab Ordering Enables Firefox-like Tab Handling in Google Chrome [Downloads] http://ow.ly/16wSn0 15 hrs ago
- GR Shared Items: The Complete Guide to Windows System Restore [Windows] http://ow.ly/16wSn1 15 hrs ago
- GR Shared Items: NOTE: The DIVIDE Function http://ow.ly/16wSn3 15 hrs ago
- More updates...
Archives
IE6 and JavaScript performance
Friday, June 22nd 2007
Topics: Scripting, Software, Web Development, Web Tools
Tags: AJAX, comparsion, DOM, Firefox, HTML, IE6, IE7, JavaScript, tests, XHTML, Zimbra
Tags: AJAX, comparsion, DOM, Firefox, HTML, IE6, IE7, JavaScript, tests, XHTML, Zimbra