DOMAssistant CSS selectors in IE 8 ten times faster than its nearest competitor
March 7th, 2008 by Robert NymanNow that IE 8 beta is out of the door, I thought it would be interesting to take it for a spin with DOMAssistant.
Interestingly enough, they have added support for querySelectorAll. Since DOMAssistant is optimized to rely on native support as much as possible, for performance and accuracy reasons, I tried the Slickspeed test with IE 8.
Lo and behold when it comes to CSS selector performance! CSS selectors in DOMAssistant is ten times faster than its nearest competitor!
My results in IE 8 was, in milliseconds:
| DOMAssistant 2.6 | 28 |
|---|---|
| jQuery 1.2.3 | 527 |
| Prototype 1.6.0.2 | 976 |
| Mootools 1.2b2 | 768 |
| ExtJS Core 2.01 | 299 |
| YUI 2.4.1 | 627 |
A little note here: IE 8 doesn’t seem to support nth-child selectors in CSS 3 (hence failing in the test), and I think it’s crucial that they add CSS 3 support for querySelectorAll to be able to match other web browser and at the same time give web developers the necessary support.
If they don’t support this, from the DOMAssistant perspective, it will utilize native support when possible, and “regular” scripting otherwise.

March 10th, 2008 at 1:50 pm
[…] can imagine my surprise when I saw that DOMAssistant CSS selectors in IE 8 were ten times faster than its nearest competitor! This is only, of course, an indication of what the future might hold, but if the IE team delivers […]