[jQuery] Speed Tests

2006-12-19 Thread Yehuda Katz
In the vein of the discussion we've been having on this list (and, of course, heavily inspired by the first speed test), I've created a more extensive speed test that tests a bunch of similar cases. A word of warning: your browser will not be available for a good 30 seconds or so while the test i

Re: [jQuery] Speed Tests

2006-12-19 Thread Dave Methvin
> The first thing my code does is test how long it takes to run a > $(".class") query, and bases the number of attempts for each > test on the speed of that query (not a perfect system, but it > should prevent crazy long loads on slow computers. > Check the test out at: > http://yehuda.jquery.com

Re: [jQuery] Speed Tests

2006-12-19 Thread Andy Matthews
0.62ms $('body > div.scene div#speech5') 49.38ms 51.56ms 55.32ms $('div.scene div.dialog') 87.18ms 87.5ms 88.44ms -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Yehuda Katz Sent: Tuesday, December 19, 2006 11:01 AM

Re: [jQuery] Speed Tests

2006-12-19 Thread Karl Swedberg
On Dec 19, 2006, at 12:51 PM, Dave Methvin wrote: >> The first thing my code does is test how long it takes to run a >> $(".class") query, and bases the number of attempts for each >> test on the speed of that query (not a perfect system, but it >> should prevent crazy long loads on slow computers