<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Benchmark: Prototype and jQuery</title>
	<atom:link href="http://ajaxian.com/archives/benchmark-prototype-and-jquery/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: robertrv</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-262358</link>
		<dc:creator>robertrv</dc:creator>
		<pubDate>Wed, 26 Mar 2008 22:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-262358</guid>
		<description>Helllo !!

I suppose I&#039;m a bit late to post something here ... but I have seen this really interesting test: http://jst.pbwiki.com/

ciao, r</description>
		<content:encoded><![CDATA[<p>Helllo !!</p>
<p>I suppose I&#8217;m a bit late to post something here &#8230; but I have seen this really interesting test: <a href="http://jst.pbwiki.com/" rel="nofollow">http://jst.pbwiki.com/</a></p>
<p>ciao, r</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Earth</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-261684</link>
		<dc:creator>Earth</dc:creator>
		<pubDate>Thu, 28 Feb 2008 11:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-261684</guid>
		<description>~ jQuery:
---
- Fast development: 
Does this need any further explanation? If so, compare jQuery code with basic JavaScript code and you&#039;ll find out.
- Amazing cross-browser effects
Amazing effects can be created with support to the popular browsers. Most of the jQuery effects out there are created basicly which reduces the size of the add-on and means that effects can be customized into richer looks only when wanted. In other words: download the add-on and use the smaller basic plugin or customize it into a larger and richer plugin whenever needed.
- Easy hackable:
Even though the jQuery website does not have an amazing tool to customize the framework to meet your needs such as the mootools website has parts of the framework code can be removed if not used without causing any problems. This requires a bit more technical knowledge, though.
- Readability high on larger projects:
The coding is much smaller than most of the JavaScript frameworks but this certainly doesn&#039;t mean that it affects readability as a disadvantage, so readability stays high on larger projects.
- Performance:
The more complicated jQuery selectors are known to be quite slower than frameworks such as Mootools and Dojo, but, unless you require every millisecond of performance gain, there is no noticeable difference between jQuery and prototype on that matter.

Browser compatibility: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+

~ Prototype (compared to jQuery):
---
- Amazing cross-browser effects
- Slower development
- Larger in size:
More code to write + larger framework
- Slightly faster

Browser compatibility: IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.25+

External links:
- 4 popular Framework selector speedtest: http://mootools.net/slickspeed/
- Framework comparison: http://www.ja-sig.org/wiki/display/UP3/Javascript+Toolkit+Comparison

Note: this comparison is based on my own opinion (and perhaps from a lot more jQuery users) and the comparison isn&#039;t very throughout as my knowledge is limited on frameworks other than jQuery.</description>
		<content:encoded><![CDATA[<p>~ jQuery:<br />
&#8212;<br />
- Fast development:<br />
Does this need any further explanation? If so, compare jQuery code with basic JavaScript code and you&#8217;ll find out.<br />
- Amazing cross-browser effects<br />
Amazing effects can be created with support to the popular browsers. Most of the jQuery effects out there are created basicly which reduces the size of the add-on and means that effects can be customized into richer looks only when wanted. In other words: download the add-on and use the smaller basic plugin or customize it into a larger and richer plugin whenever needed.<br />
- Easy hackable:<br />
Even though the jQuery website does not have an amazing tool to customize the framework to meet your needs such as the mootools website has parts of the framework code can be removed if not used without causing any problems. This requires a bit more technical knowledge, though.<br />
- Readability high on larger projects:<br />
The coding is much smaller than most of the JavaScript frameworks but this certainly doesn&#8217;t mean that it affects readability as a disadvantage, so readability stays high on larger projects.<br />
- Performance:<br />
The more complicated jQuery selectors are known to be quite slower than frameworks such as Mootools and Dojo, but, unless you require every millisecond of performance gain, there is no noticeable difference between jQuery and prototype on that matter.</p>
<p>Browser compatibility: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+</p>
<p>~ Prototype (compared to jQuery):<br />
&#8212;<br />
- Amazing cross-browser effects<br />
- Slower development<br />
- Larger in size:<br />
More code to write + larger framework<br />
- Slightly faster</p>
<p>Browser compatibility: IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.25+</p>
<p>External links:<br />
- 4 popular Framework selector speedtest: <a href="http://mootools.net/slickspeed/" rel="nofollow">http://mootools.net/slickspeed/</a><br />
- Framework comparison: <a href="http://www.ja-sig.org/wiki/display/UP3/Javascript+Toolkit+Comparison" rel="nofollow">http://www.ja-sig.org/wiki/display/UP3/Javascript+Toolkit+Comparison</a></p>
<p>Note: this comparison is based on my own opinion (and perhaps from a lot more jQuery users) and the comparison isn&#8217;t very throughout as my knowledge is limited on frameworks other than jQuery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafa Soares</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-259144</link>
		<dc:creator>Rafa Soares</dc:creator>
		<pubDate>Wed, 21 Nov 2007 14:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-259144</guid>
		<description>Dilemma (apparently) solved.
In another bost in this blog, I&#039;ve found &lt;a href=&quot;http://interface.eyecon.ro/&quot; rel=&quot;nofollow&quot;&gt;Interface Elements for jQuery&lt;/a&gt;.
It has just the effects I want, the way I want (and a bit more).

I&#039;ll just see how good it is to use.</description>
		<content:encoded><![CDATA[<p>Dilemma (apparently) solved.<br />
In another bost in this blog, I&#8217;ve found <a href="http://interface.eyecon.ro/" rel="nofollow">Interface Elements for jQuery</a>.<br />
It has just the effects I want, the way I want (and a bit more).</p>
<p>I&#8217;ll just see how good it is to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafa Soares</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-259143</link>
		<dc:creator>Rafa Soares</dc:creator>
		<pubDate>Wed, 21 Nov 2007 13:54:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-259143</guid>
		<description>Hereâ€™s my dilemma:
jQuery seems great, code looks much more simpler.
But, script.aculo.us have the SlideDown effect just the exact way I want (really sliding the content down) as jQuery doesnâ€™t (it just resizes the container and the content remains static, masked by the container).

So Iâ€™m very foward script.aculo.us. But it uses Prototype, not jQuery.

I canâ€™t decide to use either jQuery or Prototype + script.aculo.usâ€¦</description>
		<content:encoded><![CDATA[<p>Hereâ€™s my dilemma:<br />
jQuery seems great, code looks much more simpler.<br />
But, script.aculo.us have the SlideDown effect just the exact way I want (really sliding the content down) as jQuery doesnâ€™t (it just resizes the container and the content remains static, masked by the container).</p>
<p>So Iâ€™m very foward script.aculo.us. But it uses Prototype, not jQuery.</p>
<p>I canâ€™t decide to use either jQuery or Prototype + script.aculo.usâ€¦</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-246866</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sat, 03 Feb 2007 15:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-246866</guid>
		<description>Could you repeat that test with jQuery 1.1, please?

jQuery 1.1 is many times faster than Version 1.0.1

Thanks,
John</description>
		<content:encoded><![CDATA[<p>Could you repeat that test with jQuery 1.1, please?</p>
<p>jQuery 1.1 is many times faster than Version 1.0.1</p>
<p>Thanks,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Philippe Encausse</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-207473</link>
		<dc:creator>Jean-Philippe Encausse</dc:creator>
		<pubDate>Fri, 24 Nov 2006 16:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-207473</guid>
		<description>Hi,
I&#039;ve developed many script module (With prototype) doing lots of initialization onLoad with $$(&#039;DIV.classname&#039;)

Then I tried to override $$ by
- Prototype document.getElementsByClassName
- Simon Willison document.getElementsBySelector
- JQuery (not already test)

Even if there is little difference (some ms) in bench. Each implementation seems to be too slow (especially with IE).

So using a given js lib or an other will not resolve performance issues...</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;ve developed many script module (With prototype) doing lots of initialization onLoad with $$(&#8216;DIV.classname&#8217;)</p>
<p>Then I tried to override $$ by<br />
- Prototype document.getElementsByClassName<br />
- Simon Willison document.getElementsBySelector<br />
- JQuery (not already test)</p>
<p>Even if there is little difference (some ms) in bench. Each implementation seems to be too slow (especially with IE).</p>
<p>So using a given js lib or an other will not resolve performance issues&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Chabot</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-134574</link>
		<dc:creator>Mike Chabot</dc:creator>
		<pubDate>Wed, 18 Oct 2006 02:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-134574</guid>
		<description>With jQuery&#039;s class selectors, I have found that it is much faster to be more specific with the selector by writing $(&#039;div.test&#039;) instead of just $(&#039;.test&#039;). The speedup I noticed when being more specific was significant.</description>
		<content:encoded><![CDATA[<p>With jQuery&#8217;s class selectors, I have found that it is much faster to be more specific with the selector by writing $(&#8216;div.test&#8217;) instead of just $(&#8216;.test&#8217;). The speedup I noticed when being more specific was significant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Jia</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-134145</link>
		<dc:creator>Simon Jia</dc:creator>
		<pubDate>Tue, 17 Oct 2006 21:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-134145</guid>
		<description>Try Simon Willison&#039;s document.getElementsBySelector, that&#039;s even faster. I&#039;m using jQuery and Prototype for a few different projects. After screwing with the selector syntax, I finally decided to drop it for both frameworks and go with Simon Willison&#039;s solution.
I think there were an early post about a blog post &quot;Misleading of jQuery&quot;. In that blog, there were a long discussion on this issue and some one even made a test script to compare the speeds. The results are very clear, Simon Willison&#039;s function is lightweight and hella faster. Here&#039;s the link to the test http://commontags.com/test/CSSselectors-benchmark.htm

Link to Simon Willison&#039;s solution:
http://simon.incutio.com/archive/2003/03/25/getElementsBySelector</description>
		<content:encoded><![CDATA[<p>Try Simon Willison&#8217;s document.getElementsBySelector, that&#8217;s even faster. I&#8217;m using jQuery and Prototype for a few different projects. After screwing with the selector syntax, I finally decided to drop it for both frameworks and go with Simon Willison&#8217;s solution.<br />
I think there were an early post about a blog post &#8220;Misleading of jQuery&#8221;. In that blog, there were a long discussion on this issue and some one even made a test script to compare the speeds. The results are very clear, Simon Willison&#8217;s function is lightweight and hella faster. Here&#8217;s the link to the test <a href="http://commontags.com/test/CSSselectors-benchmark.htm" rel="nofollow">http://commontags.com/test/CSSselectors-benchmark.htm</a></p>
<p>Link to Simon Willison&#8217;s solution:<br />
<a href="http://simon.incutio.com/archive/2003/03/25/getElementsBySelector" rel="nofollow">http://simon.incutio.com/archive/2003/03/25/getElementsBySelector</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-133939</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 17 Oct 2006 17:46:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-133939</guid>
		<description>Cute.  The guy does some tests, notes that it looks like that jQuery isn&#039;t actually much (if at all significantly) slower than Prototype, and the jQuery fans bridle and try to cast the thing as a hit piece.</description>
		<content:encoded><![CDATA[<p>Cute.  The guy does some tests, notes that it looks like that jQuery isn&#8217;t actually much (if at all significantly) slower than Prototype, and the jQuery fans bridle and try to cast the thing as a hit piece.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: r00t</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-133475</link>
		<dc:creator>r00t</dc:creator>
		<pubDate>Tue, 17 Oct 2006 10:28:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-133475</guid>
		<description>results doesn&#039;t change my choice... besides the person doing the benchmark is a prototype user, c&quot;,)

jquery still rules for me!</description>
		<content:encoded><![CDATA[<p>results doesn&#8217;t change my choice&#8230; besides the person doing the benchmark is a prototype user, c&#8221;,)</p>
<p>jquery still rules for me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery is Slow! huh! &#171; Mental Vomits</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-132552</link>
		<dc:creator>jQuery is Slow! huh! &#171; Mental Vomits</dc:creator>
		<pubDate>Mon, 16 Oct 2006 18:07:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-132552</guid>
		<description>[...] Dion Almer reports [...]</description>
		<content:encoded><![CDATA[<p>[...] Dion Almer reports [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Bango</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-132380</link>
		<dc:creator>Rey Bango</dc:creator>
		<pubDate>Mon, 16 Oct 2006 13:44:24 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-132380</guid>
		<description>@Claudio:
One of your readers posted new &amp; very different results based that seem to contradict some of your findings. You can see the results here:

Via Google Spreadsheet:
http://0nz.spreadsheets.google.com/ccc?id=o04790098234894520511.5178455417629729589.12842749026303919978.6392792159332293656#

or for those without access to a Google login:
http://www.intoajax.com/pvjcompare.jpg</description>
		<content:encoded><![CDATA[<p>@Claudio:<br />
One of your readers posted new &amp; very different results based that seem to contradict some of your findings. You can see the results here:</p>
<p>Via Google Spreadsheet:<br />
<a href="http://0nz.spreadsheets.google.com/ccc?id=o04790098234894520511.5178455417629729589.12842749026303919978.6392792159332293656#" rel="nofollow">http://0nz.spreadsheets.google.com/ccc?id=o04790098234894520511.5178455417629729589.12842749026303919978.6392792159332293656#</a></p>
<p>or for those without access to a Google login:<br />
<a href="http://www.intoajax.com/pvjcompare.jpg" rel="nofollow">http://www.intoajax.com/pvjcompare.jpg</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Google Logs</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131992</link>
		<dc:creator>Google Logs</dc:creator>
		<pubDate>Mon, 16 Oct 2006 06:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131992</guid>
		<description>I like JQuery&#039;s easy pattern following the CSS selection. also, i like most the power of prototype.. definitely this post is worth some time ..</description>
		<content:encoded><![CDATA[<p>I like JQuery&#8217;s easy pattern following the CSS selection. also, i like most the power of prototype.. definitely this post is worth some time ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alister Cameron</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131565</link>
		<dc:creator>Alister Cameron</dc:creator>
		<pubDate>Mon, 16 Oct 2006 00:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131565</guid>
		<description>Addevent test in jQuery could also have been:

$(&#039;#test&#039;).click(function() { alert(this) });

No idea on the speed differences.

Would love John Resig&#039;s thoughts on this testing overall!

You there, John?!

- Alister</description>
		<content:encoded><![CDATA[<p>Addevent test in jQuery could also have been:</p>
<p>$(&#8216;#test&#8217;).click(function() { alert(this) });</p>
<p>No idea on the speed differences.</p>
<p>Would love John Resig&#8217;s thoughts on this testing overall!</p>
<p>You there, John?!</p>
<p>- Alister</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob Gonda</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131514</link>
		<dc:creator>Rob Gonda</dc:creator>
		<pubDate>Sun, 15 Oct 2006 23:37:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131514</guid>
		<description>I agree with Dean; also, which browser did you use for these benchmarks? Prototype is even slower on IE.</description>
		<content:encoded><![CDATA[<p>I agree with Dean; also, which browser did you use for these benchmarks? Prototype is even slower on IE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claudio Cicali</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131510</link>
		<dc:creator>Claudio Cicali</dc:creator>
		<pubDate>Sun, 15 Oct 2006 23:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131510</guid>
		<description>Meaningless, yes, just about every benchmarks and statistics :) My tests were run just to have a &quot;feel&quot; of how they COULD compare. DOM was very simple.

Maybe I could only have helped someone (with more spare time), to test more complex DOMs having not to re-think which KIND of tests to perform (or, yes, part of them) ;)

As you asked, code is here: http://claudio.cicali.org/files/benchmark_j.html
http://claudio.cicali.org/files/benchmark.html</description>
		<content:encoded><![CDATA[<p>Meaningless, yes, just about every benchmarks and statistics :) My tests were run just to have a &#8220;feel&#8221; of how they COULD compare. DOM was very simple.</p>
<p>Maybe I could only have helped someone (with more spare time), to test more complex DOMs having not to re-think which KIND of tests to perform (or, yes, part of them) ;)</p>
<p>As you asked, code is here: <a href="http://claudio.cicali.org/files/benchmark_j.html" rel="nofollow">http://claudio.cicali.org/files/benchmark_j.html</a><br />
<a href="http://claudio.cicali.org/files/benchmark.html" rel="nofollow">http://claudio.cicali.org/files/benchmark.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Edwards</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131487</link>
		<dc:creator>Dean Edwards</dc:creator>
		<pubDate>Sun, 15 Oct 2006 23:08:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131487</guid>
		<description>Prototype is very slow to process a large resultset. I&#039;m guessing these tests were performed on very small DOMs.

These benchmarks are probably meaningless.</description>
		<content:encoded><![CDATA[<p>Prototype is very slow to process a large resultset. I&#8217;m guessing these tests were performed on very small DOMs.</p>
<p>These benchmarks are probably meaningless.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prototype vs jQuery - aNieto2K</title>
		<link>http://ajaxian.com/archives/benchmark-prototype-and-jquery/comment-page-1#comment-131378</link>
		<dc:creator>Prototype vs jQuery - aNieto2K</dc:creator>
		<pubDate>Sun, 15 Oct 2006 21:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/archives/benchmark-prototype-and-jquery#comment-131378</guid>
		<description>[...] Ya era hora que alguien se pusiera ha hacer pruebas de entre las librerÃ­as JS mÃ¡s conocidas, en este caso ha tocado Prototype y jQuery. Parece que la conclusiÃ³n a dicho benchmark es claro y rotundo. [...]</description>
		<content:encoded><![CDATA[<p>[...] Ya era hora que alguien se pusiera ha hacer pruebas de entre las librerÃ­as JS mÃ¡s conocidas, en este caso ha tocado Prototype y jQuery. Parece que la conclusiÃ³n a dicho benchmark es claro y rotundo. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

