Profile Jquery Selectors
06 June 2011
For performance reasons, I wanted to quickly audit what selectors a site used with jQuery.
Using the script below, I evaluated the $profile object to get an idea of how often Sizzle
was engaged and for what types of elements. It really helps to add this before document.ready
(when all the Sizzle craziness starts) but after jQuery and your plugins load.