Re: [JSMentors] Speed of jQuery selectors - testing on http://jsperf.com

2011-01-20 Thread Kai Mallea
On Fri, Jan 21, 2011 at 12:37 AM, Bill Heaton wrote: > Can someone using Internet Explorer 9 (beta) run this test ? I ran it for you 3x in IE9b. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/jsmentors@jsmentors.com/ To search via a non

[JSMentors] Speed of jQuery selectors - testing on http://jsperf.com

2011-01-20 Thread Bill Heaton
I am testing the speed of jQuery selection with a cached DOM object as the 'context' for the selection. // method I prefer to use var area1 = document.getElementById('mypage'); $('.stuff', area1) $('.morestuff', area1) // method faster in firefox $('#mypage').find('.stuff') $('#mypage').find('.mo