<?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: 101 on jQuery Selector Performance</title>
	<atom:link href="http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/</link>
	<description>dynaTrace Blog on Performance, Scalabilty and Architecture - Java and .NET  Application Performance Management</description>
	<lastBuildDate>Thu, 02 Sep 2010 08:57:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: IE Compatibility View: How to identify performance problems between IE versions Application Performance, Scalability and Architecture – The dynaTrace Blog</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-17471</link>
		<dc:creator>IE Compatibility View: How to identify performance problems between IE versions Application Performance, Scalability and Architecture – The dynaTrace Blog</dc:creator>
		<pubDate>Thu, 22 Jul 2010 13:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-17471</guid>
		<description>[...] on elements identified via their class name or complex lookups with parent-&gt;child relations. I wrote an article that explains the performance implications of these lookups and listed other JavaScript/AJAX [...]</description>
		<content:encoded><![CDATA[<p>[...] on elements identified via their class name or complex lookups with parent-&gt;child relations. I wrote an article that explains the performance implications of these lookups and listed other JavaScript/AJAX [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to identify IE Add-Ons such as Skype that impact Web Site Performance Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-17169</link>
		<dc:creator>How to identify IE Add-Ons such as Skype that impact Web Site Performance Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</dc:creator>
		<pubDate>Mon, 12 Jul 2010 19:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-17169</guid>
		<description>[...] Add-Ons like Skype have to iterate through the DOM whenever a page is loaded or modified. The time it takes to iterate the DOM depends on the size of the DOM. That explains why those Add-Ons don&#8217;t have the same web site performance impact on every page as it depends on the number of DOM elements. It is a general JavaScript/AJAX Best Practice to limit the number of DOM elements as there are many other implications with large DOM trees, e.g.: Impact on CSS Selector Performance. [...]</description>
		<content:encoded><![CDATA[<p>[...] Add-Ons like Skype have to iterate through the DOM whenever a page is loaded or modified. The time it takes to iterate the DOM depends on the size of the DOM. That explains why those Add-Ons don&#8217;t have the same web site performance impact on every page as it depends on the number of DOM elements. It is a general JavaScript/AJAX Best Practice to limit the number of DOM elements as there are many other implications with large DOM trees, e.g.: Impact on CSS Selector Performance. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hands-On Guide: Verifying FIFA World Cup Web Site against Performance Best Practices Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-16179</link>
		<dc:creator>Hands-On Guide: Verifying FIFA World Cup Web Site against Performance Best Practices Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</dc:creator>
		<pubDate>Fri, 04 Jun 2010 14:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-16179</guid>
		<description>[...] I already blogged about different best practices on things like correct usage of CSS Selectors with jQuery and Prototype and showed the performance impact of bad JavaScript code and incorrect jQuery usage by [...]</description>
		<content:encoded><![CDATA[<p>[...] I already blogged about different best practices on things like correct usage of CSS Selectors with jQuery and Prototype and showed the performance impact of bad JavaScript code and incorrect jQuery usage by [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: olivvv</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-15529</link>
		<dc:creator>olivvv</dc:creator>
		<pubDate>Wed, 19 May 2010 10:00:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-15529</guid>
		<description>*2500 nodes</description>
		<content:encoded><![CDATA[<p>*2500 nodes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: olivvv</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-15528</link>
		<dc:creator>olivvv</dc:creator>
		<pubDate>Wed, 19 May 2010 09:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-15528</guid>
		<description>At 2500 a sizzle request based on a classname, without context, (e.g $(&#039;.someClass&#039;)) takes around 200 ms in IE7 for our app. Results should still be similar for IE8.

However optimised sizzle can be, for such a request it has to iterate through the dom and check classnames.

This is simply a too expensive operation, especially in the case of real webapps. So it is now in our guidelines that such a sizzle request is forbidden.

I think it is always possible to replace such a request, by proper node caching,or by using getElementById instead (which at least 100 times faster) or by going intensively on Event Delegation. Yes the best selector optimisation technique is : &quot;avoid class-based selectors&quot;. It is not a simple question of syntax, but more of software design.

I &quot;love the jQuery&quot;, but IMO the basic pattern of jquery -select-traverse-modify- is really showing its limits under the dual pressure of bigger webapps and use by less knowledgable coders.</description>
		<content:encoded><![CDATA[<p>At 2500 a sizzle request based on a classname, without context, (e.g $(&#8216;.someClass&#8217;)) takes around 200 ms in IE7 for our app. Results should still be similar for IE8.</p>
<p>However optimised sizzle can be, for such a request it has to iterate through the dom and check classnames.</p>
<p>This is simply a too expensive operation, especially in the case of real webapps. So it is now in our guidelines that such a sizzle request is forbidden.</p>
<p>I think it is always possible to replace such a request, by proper node caching,or by using getElementById instead (which at least 100 times faster) or by going intensively on Event Delegation. Yes the best selector optimisation technique is : &#8220;avoid class-based selectors&#8221;. It is not a simple question of syntax, but more of software design.</p>
<p>I &#8220;love the jQuery&#8221;, but IMO the basic pattern of jquery -select-traverse-modify- is really showing its limits under the dual pressure of bigger webapps and use by less knowledgable coders.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Grabner</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-14455</link>
		<dc:creator>Andreas Grabner</dc:creator>
		<pubDate>Thu, 15 Apr 2010 21:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-14455</guid>
		<description>@Paul: great slides - thanks. The general problem that I highlight here is the lack of IE to query elements by class name. Even though jQuery is a great framework with constant performance improvements the lack of IE functionality just kills performance if you execute certain selectors. But thanks to guys like you that highlight best practices people will learn how to write better performing web sites</description>
		<content:encoded><![CDATA[<p>@Paul: great slides &#8211; thanks. The general problem that I highlight here is the lack of IE to query elements by class name. Even though jQuery is a great framework with constant performance improvements the lack of IE functionality just kills performance if you execute certain selectors. But thanks to guys like you that highlight best practices people will learn how to write better performing web sites</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Irish</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-14450</link>
		<dc:creator>Paul Irish</dc:creator>
		<pubDate>Thu, 15 Apr 2010 19:59:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-14450</guid>
		<description>jQuery 1.1.4 had a *completely* different selector engine than whats in 1.3+. Performance advice was basically flipped on its head when Sizzle landed.

For some guidance on what helps now, check slides 21-33 of 
http://paulirish.com/2009/perf/</description>
		<content:encoded><![CDATA[<p>jQuery 1.1.4 had a *completely* different selector engine than whats in 1.3+. Performance advice was basically flipped on its head when Sizzle landed.</p>
<p>For some guidance on what helps now, check slides 21-33 of<br />
<a href="http://paulirish.com/2009/perf/" rel="nofollow"></a><a href='http://paulirish.com/2009/perf/'>http://paulirish.com/2009/perf/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Performance Best Practices: How masters.com re-designed their site to boost performance – and what that re-design missed Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-14146</link>
		<dc:creator>Web Performance Best Practices: How masters.com re-designed their site to boost performance – and what that re-design missed Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</dc:creator>
		<pubDate>Mon, 05 Apr 2010 15:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-14146</guid>
		<description>[...] blogged about that many times &#8211; are expensive CSS Selectors. Check my recent blog about 101 on jQuery Selector Performance to get background information on this problem. The following screenshot shows me the top CSS [...]</description>
		<content:encoded><![CDATA[<p>[...] blogged about that many times &#8211; are expensive CSS Selectors. Check my recent blog about 101 on jQuery Selector Performance to get background information on this problem. The following screenshot shows me the top CSS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dynaTrace AJAX Edition 1.6 available for public download Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-13447</link>
		<dc:creator>dynaTrace AJAX Edition 1.6 available for public download Performance, Scalability and Architecture &#8211; Java and .NET Application Performance Management (dynaTrace Blog)</dc:creator>
		<pubDate>Tue, 09 Mar 2010 15:06:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-13447</guid>
		<description>[...] CSS Lookups: 101 on jQuery Selector Performance,  101 on Prototype CSS [...]</description>
		<content:encoded><![CDATA[<p>[...] CSS Lookups: 101 on jQuery Selector Performance,  101 on Prototype CSS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: as</title>
		<link>http://blog.dynatrace.com/2009/11/09/101-on-jquery-selector-performance/comment-page-1/#comment-13228</link>
		<dc:creator>as</dc:creator>
		<pubDate>Tue, 02 Mar 2010 05:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dynatrace.com/?p=1076#comment-13228</guid>
		<description>thnaks</description>
		<content:encoded><![CDATA[<p>thnaks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
