Time to pick a battle!

3 views
Skip to first unread message

madr

unread,
Feb 10, 2009, 10:21:37 AM2/10/09
to DOMAssistant
JQuery 1.3.1 arrived a while ago. In IE8b2 and Safari I have
encountered DOMAssistant to be a bit slower than JQuery:
http://madr.se/~ay/slickspeed-domassistant-jquery-prototype/

In Firefox 3, Opera 9.6 and IE6-7 there are no differences:
DOMAssistant is still the overall fastest.

I am a bit curious how the DOMAssistant team will approach this. Is it
high priority? In case it's not, it could be a good idea to stop
saying DOMAssistant has the "overall fastest and most accurate CSS
selector performance."

Please don't get me wrong on this, though. I use DOMAssistant and
dLite in production and is very happy about it. :)

Robert Nyman

unread,
Feb 10, 2009, 10:28:20 AM2/10/09
to domass...@googlegroups.com
Hi,

Since I don't do any developing on DOMAssistant, I'll leave that up to Cheng Hong to answer. :-)
I would be cheeky to say that it still matches the overall statement, though, since IE 8 isn't officially released yet and Safari is a minority browser. :-)

But absolutely, it's a valid question if work should go into making it faster in every web browser, or if its time to focus on other things.


Best regards,
Robert

chenghong

unread,
Feb 10, 2009, 2:13:37 PM2/10/09
to DOMAssistant
I once plotted a weighted chart of the speed and accuracy of
DOMAssistant versus other libraries on various browsers based on their
market shares, and DA still came out as a clear winner. The chart was
never published though.

Version 2.7.4 hasn't really been optimized for speed in IE8, and it is
not high in priority since we are relying on the native
querySelectorAll method in IE8 for the most common selectors.

I'm glad you like DOMAssistant =)


Cheers,
chenghong

Chris

unread,
Mar 30, 2009, 3:15:52 AM3/30/09
to DOMAssistant
DA 2.7.4 and JQuery 1.3.1 on http://madr.se/~ay/slickspeed-domassistant-jquery-prototype/
are both unmeasureable fast in Safari 3.1.2 on my WinXP machine. When
you see the difference between the both (DA and JQuery) in other
browsers the difference is much much bigger.

I did a test earlier and saw that DA 2.7.4 it out-performed jQuery
1.2.6,Prototype 1.6.0.3, Mootools 1.2.1, ExtJS Core 2.2, Dojo 1.2, YUI
2.6.0 on any browser I could get my hands on (not IE8).

PS: I'm a fan of DA too. I ported my code to use DOMassistant instead
of PrototypeJS and my project is faster big time.

Robert Nyman

unread,
Mar 30, 2009, 4:29:45 AM3/30/09
to domass...@googlegroups.com
Good to hear, Chris, I'm glad that you are happy!

Best regards,
Robert

Anders Mars Ytterström

unread,
Mar 30, 2009, 5:57:13 AM3/30/09
to domass...@googlegroups.com
On a related note, this made my day:
http://skitch.com/madr/bjhak/windows-xp-home-edition

In IE8 final! :D

/ay

2009/3/30 Chris <c.west...@gmail.com>:
--
=======================
Anders Ytterström, Östersund
http://madr.se
tel: 0702-16 96 45

Robert Nyman

unread,
Mar 30, 2009, 6:34:38 AM3/30/09
to domass...@googlegroups.com
Nice!
Wonder why prototype is so slow...

Best regards,
Robert


2009/3/30 Anders Mars Ytterström <anders.y...@gmail.com>
Reply all
Reply to author
Forward
0 new messages