<?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: Prototype and Scriptaculous mini news</title>
	<atom:link href="http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: dperini</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276234</link>
		<dc:creator>dperini</dc:creator>
		<pubDate>Sat, 31 Oct 2009 15:02:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276234</guid>
		<description>@Nosredna,
thanks for having a look at NWMatcher, I would like to point you to the match() test showing that performances boost are not just better against other engines but also better than browsers own native API implementations, see here:

   http://www.fusejs.com/nwmatcher/match/

the gains are quite big and the technique used is much better than what we have today, both Webkit and Firefox nightly includes the same methods and functionalities, they are not yet as fast but at least we can build benchmarks comparing with browsers native speeds.</description>
		<content:encoded><![CDATA[<p>@Nosredna,<br />
thanks for having a look at NWMatcher, I would like to point you to the match() test showing that performances boost are not just better against other engines but also better than browsers own native API implementations, see here:</p>
<p>   <a href="http://www.fusejs.com/nwmatcher/match/" rel="nofollow">http://www.fusejs.com/nwmatcher/match/</a></p>
<p>the gains are quite big and the technique used is much better than what we have today, both Webkit and Firefox nightly includes the same methods and functionalities, they are not yet as fast but at least we can build benchmarks comparing with browsers native speeds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nosredna</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276173</link>
		<dc:creator>Nosredna</dc:creator>
		<pubDate>Tue, 27 Oct 2009 18:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276173</guid>
		<description>@jdalton,

OK. I was going from an older version in a different SlickSpeed. If I get a chance I&#039;ll test in some of my own code.</description>
		<content:encoded><![CDATA[<p>@jdalton,</p>
<p>OK. I was going from an older version in a different SlickSpeed. If I get a chance I&#8217;ll test in some of my own code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276172</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Tue, 27 Oct 2009 17:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276172</guid>
		<description>@Nosredna match() is used heavily in event delegation.
.
In my run the performance in IE6-yahoo-template for Prototype-NWMatcher work-in-progress (wip) was just 3 points behind P-Sizzle. NWMatcher is faster or equiv on common simple selectors like #id, .class, and tagName. Diego is aware of IE6/7 performance drag and has several things in the works to boost it.
.
Again, other engines are not following spec in many cases and this can cause inconsistencies between browsers. Following spec adds an extra performance hit. That said, NWMatcher still has a lot of room to improve and still has a few tricks up it&#039;s sleeve to push performance  further.
.
Thanks for the feedback.</description>
		<content:encoded><![CDATA[<p>@Nosredna match() is used heavily in event delegation.<br />
.<br />
In my run the performance in IE6-yahoo-template for Prototype-NWMatcher work-in-progress (wip) was just 3 points behind P-Sizzle. NWMatcher is faster or equiv on common simple selectors like #id, .class, and tagName. Diego is aware of IE6/7 performance drag and has several things in the works to boost it.<br />
.<br />
Again, other engines are not following spec in many cases and this can cause inconsistencies between browsers. Following spec adds an extra performance hit. That said, NWMatcher still has a lot of room to improve and still has a few tricks up it&#8217;s sleeve to push performance  further.<br />
.<br />
Thanks for the feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nosredna</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276171</link>
		<dc:creator>Nosredna</dc:creator>
		<pubDate>Tue, 27 Oct 2009 14:38:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276171</guid>
		<description>NWMatcher is impressively fast in Chrome, but very disappointing compared to Sizzle in IE6 and IE7. Since IE6 and IE7 need the speed boost more than any other browsers, isn&#039;t Sizzle the library mostly likely to make the biggest impact on the most users?

If you can get the IE speed to match Sizzle&#039;s, you have a winner.</description>
		<content:encoded><![CDATA[<p>NWMatcher is impressively fast in Chrome, but very disappointing compared to Sizzle in IE6 and IE7. Since IE6 and IE7 need the speed boost more than any other browsers, isn&#8217;t Sizzle the library mostly likely to make the biggest impact on the most users?</p>
<p>If you can get the IE speed to match Sizzle&#8217;s, you have a winner.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nosredna</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276170</link>
		<dc:creator>Nosredna</dc:creator>
		<pubDate>Tue, 27 Oct 2009 14:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276170</guid>
		<description>Help me out here. Tell me some usage cases when I&#039;d want a boolean to tell me if a selector matched.</description>
		<content:encoded><![CDATA[<p>Help me out here. Tell me some usage cases when I&#8217;d want a boolean to tell me if a selector matched.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimoja</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276169</link>
		<dc:creator>Kimoja</dc:creator>
		<pubDate>Tue, 27 Oct 2009 12:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276169</guid>
		<description>@ Stakka
I have made a comparison between the methods of selection ...
bye</description>
		<content:encoded><![CDATA[<p>@ Stakka<br />
I have made a comparison between the methods of selection &#8230;<br />
bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276161</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Mon, 26 Oct 2009 23:27:28 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276161</guid>
		<description>Also for those interested NWMatcher passes Prototype and jQuery unit tests
.
Prototype: http://bit.ly/XI6la
.
jQuery: http://bit.ly/34md5r
.
jQuery (edge): http://bit.ly/4rBhqh</description>
		<content:encoded><![CDATA[<p>Also for those interested NWMatcher passes Prototype and jQuery unit tests<br />
.<br />
Prototype: <a href="http://bit.ly/XI6la" rel="nofollow">http://bit.ly/XI6la</a><br />
.<br />
jQuery: <a href="http://bit.ly/34md5r" rel="nofollow">http://bit.ly/34md5r</a><br />
.<br />
jQuery (edge): <a href="http://bit.ly/4rBhqh" rel="nofollow">http://bit.ly/4rBhqh</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stakka</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276160</link>
		<dc:creator>Stakka</dc:creator>
		<pubDate>Mon, 26 Oct 2009 22:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276160</guid>
		<description>@Kimoja
The NWMatcher&#039;s match() doesn&#039;t selector nodes, it just match a given node against the expression, returning true/false. You&#039;ll probably comparing it to a full querySelectorAll implementation.</description>
		<content:encoded><![CDATA[<p>@Kimoja<br />
The NWMatcher&#8217;s match() doesn&#8217;t selector nodes, it just match a given node against the expression, returning true/false. You&#8217;ll probably comparing it to a full querySelectorAll implementation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276159</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Mon, 26 Oct 2009 19:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276159</guid>
		<description>For those interested the benchmarks for NWMatcher&#039;s match() method, that Diego referenced, can be found here: http://bit.ly/elhgf</description>
		<content:encoded><![CDATA[<p>For those interested the benchmarks for NWMatcher&#8217;s match() method, that Diego referenced, can be found here: <a href="http://bit.ly/elhgf" rel="nofollow">http://bit.ly/elhgf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimoja</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276158</link>
		<dc:creator>Kimoja</dc:creator>
		<pubDate>Mon, 26 Oct 2009 18:40:43 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276158</guid>
		<description>I haven&#039;t slickspeed version that  you use, I use one that calculates the execution time of a request... and in my testing, I found a very different result from what you show me , on IE6, I&#039;m 3 times faster than your library without cache, with,  it&#039;s almost 4 times faster... have you tested my source correctly (I provided with the bench)
If you could give me the source of your Slickspeed?

for the eval, I don&#039;t understand  what it &#039;s the  problem, I don&#039;t use the building function, because the context is always window, but I could still do without ...</description>
		<content:encoded><![CDATA[<p>I haven&#8217;t slickspeed version that  you use, I use one that calculates the execution time of a request&#8230; and in my testing, I found a very different result from what you show me , on IE6, I&#8217;m 3 times faster than your library without cache, with,  it&#8217;s almost 4 times faster&#8230; have you tested my source correctly (I provided with the bench)<br />
If you could give me the source of your Slickspeed?</p>
<p>for the eval, I don&#8217;t understand  what it &#8216;s the  problem, I don&#8217;t use the building function, because the context is always window, but I could still do without &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fabienmenager</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276157</link>
		<dc:creator>fabienmenager</dc:creator>
		<pubDate>Mon, 26 Oct 2009 18:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276157</guid>
		<description>@Kimoja, ARGH I saw an eval() ! I suggest you to revise your French too.
 
I didn&#039;t know NWMatcher, but it looks really impressive and promising ! I&#039;d really like it to become the default CSS selector of PrototypeJS</description>
		<content:encoded><![CDATA[<p>@Kimoja, ARGH I saw an eval() ! I suggest you to revise your French too.</p>
<p>I didn&#8217;t know NWMatcher, but it looks really impressive and promising ! I&#8217;d really like it to become the default CSS selector of PrototypeJS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276156</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Mon, 26 Oct 2009 17:48:12 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276156</guid>
		<description>@Kimoja Thanks for the continued comment spam http://dl.getdropbox.com/u/513327/idquery_fail.png (Firefox).
.
The result-cache is just a small part of NWMatcher and can be enabled/disabled via NW.Dom.setCache(false/true);
.
NWMatcher development is a continual process. I am sure the speed will be tweaked for IE in the near future.
.
NWMatcher ensures results are always returned as arrays, and promotes/advocates following spec by ensuring results in document order, respecting attribute case-sensitivity, and white-space as defined by spec. NWMatcher supports following standards over the speed race.</description>
		<content:encoded><![CDATA[<p>@Kimoja Thanks for the continued comment spam <a href="http://dl.getdropbox.com/u/513327/idquery_fail.png" rel="nofollow">http://dl.getdropbox.com/u/513327/idquery_fail.png</a> (Firefox).<br />
.<br />
The result-cache is just a small part of NWMatcher and can be enabled/disabled via NW.Dom.setCache(false/true);<br />
.<br />
NWMatcher development is a continual process. I am sure the speed will be tweaked for IE in the near future.<br />
.<br />
NWMatcher ensures results are always returned as arrays, and promotes/advocates following spec by ensuring results in document order, respecting attribute case-sensitivity, and white-space as defined by spec. NWMatcher supports following standards over the speed race.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kimoja</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276155</link>
		<dc:creator>Kimoja</dc:creator>
		<pubDate>Mon, 26 Oct 2009 17:27:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276155</guid>
		<description>Hi, if you want a really quick selector, it is here.

http://code.google.com/p/idquery/downloads/list

or else

http://code.google.com/p/uupaa-js-spinoff/downloads/list


In my tests NWMatcher is the slowest of framework, I do not understand why this excitement,  besides,  put in cache all results of parts of a rule, maybe faster, but consumes too much memory and eventually can slow the system. The library selector should especially concentrate on versions of IE  that do not support querySelectorAll, but IE does not recognize MutationEvents ...

bye</description>
		<content:encoded><![CDATA[<p>Hi, if you want a really quick selector, it is here.</p>
<p><a href="http://code.google.com/p/idquery/downloads/list" rel="nofollow">http://code.google.com/p/idquery/downloads/list</a></p>
<p>or else</p>
<p><a href="http://code.google.com/p/uupaa-js-spinoff/downloads/list" rel="nofollow">http://code.google.com/p/uupaa-js-spinoff/downloads/list</a></p>
<p>In my tests NWMatcher is the slowest of framework, I do not understand why this excitement,  besides,  put in cache all results of parts of a rule, maybe faster, but consumes too much memory and eventually can slow the system. The library selector should especially concentrate on versions of IE  that do not support querySelectorAll, but IE does not recognize MutationEvents &#8230;</p>
<p>bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dperini</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276153</link>
		<dc:creator>dperini</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276153</guid>
		<description>Maybe it is lost in the long message above...
I am just talking about the JSLitmus test, not the Slickspeed one. &quot;Slickspeed&quot; is only testing the select() method that we all know and use already ;-)

And some addtion...

Looking at the latest Selectors API addition done recently, see webkitMatchesSelector() and mozMatchesSelector(), I hope you agree that the shift of thinking is coming to the browsers too. It is up to us understand how to make better use of these techniques.

NWMatcher will supplement these missing API/specifications for browser built from 2004 to 2009, I hope it does and I am here to patch it if it doesn&#039;t. The technique is not unique and is already used in some already published libraries and some that are not yet ! Have fun.</description>
		<content:encoded><![CDATA[<p>Maybe it is lost in the long message above&#8230;<br />
I am just talking about the JSLitmus test, not the Slickspeed one. &#8220;Slickspeed&#8221; is only testing the select() method that we all know and use already ;-)</p>
<p>And some addtion&#8230;</p>
<p>Looking at the latest Selectors API addition done recently, see webkitMatchesSelector() and mozMatchesSelector(), I hope you agree that the shift of thinking is coming to the browsers too. It is up to us understand how to make better use of these techniques.</p>
<p>NWMatcher will supplement these missing API/specifications for browser built from 2004 to 2009, I hope it does and I am here to patch it if it doesn&#8217;t. The technique is not unique and is already used in some already published libraries and some that are not yet ! Have fun.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dperini</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276152</link>
		<dc:creator>dperini</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276152</guid>
		<description>The method under test in the ops/sec (thanks to JSLitmus) is the match() method. The match() method performs the basic operation of checking if an element matches a specific set of characteristics (the selector string).

The select() method performs a selection of elements from a given context, and filters them based on the same characteristics as above.

From the above it is clear that a select() method could be built from a series of match() operations on a set of elements.

Currently most libraries/frameworks use the reverse operation, they do a very expensive select() operation and check if the element matches one of the results. This is the high speed increase that can be seen in the ops/sec test.

Caching is not enabled/used on the match() method, there is nothing to cache as for the results themselves, they are just true/false values...

This will be very useful in a lot of places and boost performances and GUI responsiveness, first that comes to MY mind is obviously event delegation, look for new niceness in Prototype and libraries doing the same decision these great team made.

Having more options is good, isn&#039;t it ?</description>
		<content:encoded><![CDATA[<p>The method under test in the ops/sec (thanks to JSLitmus) is the match() method. The match() method performs the basic operation of checking if an element matches a specific set of characteristics (the selector string).</p>
<p>The select() method performs a selection of elements from a given context, and filters them based on the same characteristics as above.</p>
<p>From the above it is clear that a select() method could be built from a series of match() operations on a set of elements.</p>
<p>Currently most libraries/frameworks use the reverse operation, they do a very expensive select() operation and check if the element matches one of the results. This is the high speed increase that can be seen in the ops/sec test.</p>
<p>Caching is not enabled/used on the match() method, there is nothing to cache as for the results themselves, they are just true/false values&#8230;</p>
<p>This will be very useful in a lot of places and boost performances and GUI responsiveness, first that comes to MY mind is obviously event delegation, look for new niceness in Prototype and libraries doing the same decision these great team made.</p>
<p>Having more options is good, isn&#8217;t it ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadet</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276151</link>
		<dc:creator>Jadet</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276151</guid>
		<description>@Stakka: That&#039;s why it&#039;s feature tested, have a look: http://github.com/dperini/nwmatcher/blob/master/src/nwmatcher.js#L122</description>
		<content:encoded><![CDATA[<p>@Stakka: That&#8217;s why it&#8217;s feature tested, have a look: <a href="http://github.com/dperini/nwmatcher/blob/master/src/nwmatcher.js#L122" rel="nofollow">http://github.com/dperini/nwmatcher/blob/master/src/nwmatcher.js#L122</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stakka</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276150</link>
		<dc:creator>Stakka</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276150</guid>
		<description>MutationEvent does not trigger when accessing attributes as properties, ie button.disabled = true instead of button.setAttributes(&quot;disabled&quot;,&quot;disabled&quot;) thats why i called it unsafe. This might not be a problem when using it with Prototype tho.</description>
		<content:encoded><![CDATA[<p>MutationEvent does not trigger when accessing attributes as properties, ie button.disabled = true instead of button.setAttributes(&#8220;disabled&#8221;,&#8221;disabled&#8221;) thats why i called it unsafe. This might not be a problem when using it with Prototype tho.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276149</link>
		<dc:creator>jdalton</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276149</guid>
		<description>@Stakka you are mistaken, in the benchmarks dom-result caching is disabled via NW.Dom.setCache(false).
.
Also NWMatcher uses MutationEvents safely by not persisting them when they are not needed (avoiding the slow down side-effect you may be referring to). NWMatcher does not cache when using the .match() method and only caches results when using the select() method, when the browser supports mutation events, when it isnt using querySelectorAll for a given query, and the cache isn&#039;t being initialized repeatedly (as in a while-loop). Dom result caching is one small part of what makes NWMatcher speedy and is not reflected in these tests.
.
The benchmarks in these tests are without dom-result caching, if caching were turned on you would see NWMatcher score jump up to 2000+.</description>
		<content:encoded><![CDATA[<p>@Stakka you are mistaken, in the benchmarks dom-result caching is disabled via NW.Dom.setCache(false).<br />
.<br />
Also NWMatcher uses MutationEvents safely by not persisting them when they are not needed (avoiding the slow down side-effect you may be referring to). NWMatcher does not cache when using the .match() method and only caches results when using the select() method, when the browser supports mutation events, when it isnt using querySelectorAll for a given query, and the cache isn&#8217;t being initialized repeatedly (as in a while-loop). Dom result caching is one small part of what makes NWMatcher speedy and is not reflected in these tests.<br />
.<br />
The benchmarks in these tests are without dom-result caching, if caching were turned on you would see NWMatcher score jump up to 2000+.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jadet</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276148</link>
		<dc:creator>Jadet</dc:creator>
		<pubDate>Mon, 26 Oct 2009 15:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276148</guid>
		<description>@Stakka: NWMatcher feature tests Mutation Events and uses caching where available, this makes it safe. Caching works on most browsers, it doesn&#039;t just seem fast.</description>
		<content:encoded><![CDATA[<p>@Stakka: NWMatcher feature tests Mutation Events and uses caching where available, this makes it safe. Caching works on most browsers, it doesn&#8217;t just seem fast.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stakka</title>
		<link>http://ajaxian.com/archives/prototype-and-scriptaculous-mini-news/comment-page-1#comment-276147</link>
		<dc:creator>Stakka</dc:creator>
		<pubDate>Mon, 26 Oct 2009 14:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=7765#comment-276147</guid>
		<description>@travisalmand
The old version of Slickspeed didn&#039;t give a true benchmark since it only ran the expression once. Timing in JavaScript is limited to milliseconds so this often yielded a 0 ms result. But that didn&#039;t mean it was instant, just that it took less than 1 ms.

The new version of SlickSpeed executes the expression multiple time within a fixed amount of time and presents the number of iterations it managed to run during that time. This gives a much more accurate result.

NWMatcher caches the matching result nodes from each expression, unsafely relying on MutationEvents to evict from the cache. Thats why it seems so fast.</description>
		<content:encoded><![CDATA[<p>@travisalmand<br />
The old version of Slickspeed didn&#8217;t give a true benchmark since it only ran the expression once. Timing in JavaScript is limited to milliseconds so this often yielded a 0 ms result. But that didn&#8217;t mean it was instant, just that it took less than 1 ms.</p>
<p>The new version of SlickSpeed executes the expression multiple time within a fixed amount of time and presents the number of iterations it managed to run during that time. This gives a much more accurate result.</p>
<p>NWMatcher caches the matching result nodes from each expression, unsafely relying on MutationEvents to evict from the cache. Thats why it seems so fast.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

