Wednesday, September 13th, 2006
Dramatically improved IE7 JavaScript performance
Sebastian Werner has posted some good news over on the QooXdoo blog today – that the Javascript performance of the upcoming Internet Explorer 7 has been greatly increased.
Really good news. My vocabulary may to be too limited to tell you how great the latest changes in IE7 RC1 are. Microsoft announced that they have “recently made some great fixes to our engine to improve the garbage collection routine and to reduce unbounded memory growth.” and that one “should see noticeable improvements on AJAX sites in the Release Candidate we shipped last week”. Yes indeed, we do see tremendeous improvements.
He gives the example of the qooxdoo framework running “much faster” in the new update (at times, even faster than Firefox 1.5). You can check out the demos and compare them if you’d like to see the result.
The reason behind this dramatic improvement? Microsoft decided to fix something that’s been causing problems in Javascript for years now – the more objects in the same scope you have, the slower things get. He also includes a test case to help illustrate this point specifically.












I believe this issue was known as “The Wall,” we hit it when working on Yahoo! Photos and had to throw away some objects to prevent IE from bogging down. (Firefox et al, naturally, didn’t show any problems here.)
To give an idea of what a performance hit this was, simple operations like looping through a collection of nodes were made incredibly slow after a large number of objects had been created.
I don’t know if “much faster” is necessarily accurate as I suspect a small number of sites may have been hitting this issue (plus it’s something that shouldn’t have been a problem to begin with) – “the new version doesn’t slow down” might be what I’d call it! ;) – but I am glad to hear they’ve been looking into it. (Memory leaks are the other biggie which I hear there’s been progess on as well.)
A big congratulations to MS and the IE team. You guys are now only 2 years behind everyone else. Keep up the good work.
Hmmm now microsoft’s javascript heavy live.com can load well hehhe ;)
Internet Explorer 7 Release Candidate
Qooxdoo: framework AJAX
Qooxdoo es un framework para crear aplicaciones AJAX de forma sencilla, permitiendo crear aplicaciones web estilo escritorio. Entre las caracterÃsticas que nos ofrece nos encontramos con: detección de cliente, abstraerse del navegador que se use, sin…
New ones (Web, Code stuff)
Web stuff Web Development Tools for the Power Developer My 50 favorite design resources Ajax IE Caching
Hello World!
My name is Kaushik. I am a developer on the JavaScript team at Microsoft.
I’ll be blogging mostly about…