Hi Florian,

First, just to clarify, that was a test done specifically on the DOM 
querying engine of the libraries and its not a "framework" comparison.

There are some areas that DomQuery did really outperform jQuery. There's 
no denying that and John actually replied to Jack Slocum when DomQuery 
came out. In this specific article, John hasn't had a chance to see the 
test itself but as Alex Russell, Dojo creator rightfully pointed out:

"While clearly the slowest of the bunch, jQuery 1.1 provides the richest 
API today and there’s no telling how providing a richer return object 
may affect the relative timings of dojo.query on the tests where all 3 
systems are relatively close."

He also mentioned this which is also correct:

"Lest anyone get the wrong idea about all the “invalid” attribute tests 
in jQuery toward the bottom, the syntax used in the tests is generally 
the CSS selector variant of something that jQuery can probably support 
in another form. In most cases it would be possible to re-write the test 
to use a jQuery friendly selector to achieve the same thing."

jQuery does offer the richest and most flexible API as well as different 
ways to achieve the same things being done in these tests.

I would rather John have a chance to review the tests and results before 
going further on a comment but personally, I'm not going to get worked 
up over a few ms differences in pulling up "h4.thinger" or "div span 
span". jQuery still offers exceptional performance which will certainly 
be enhanced more in v1.2.

Between code size (19kb) & the simplicity of the jQuery code, jQuery 
more than satisfies my development needs.

Rey...


Florian Fackler wrote:
> Hi,
> 
> Just saw a benchmark with jQuery, Dojo and YUI.ext. jQuery was the
> slowest framework of every test.
> I'm using jQuery a few months ago and always was happy with it - so
> don't missunderstand me :)
> Here are the test results:
> http://blog.dojotoolkit.org/2007/02/04/dojoquery-a-css-query-engine-for-dojo
> 
> Best,
> Florian
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to