Just been going through some of my current work and seeing what
improvements come with jQuery 1.1.3. Unfortunately it looks like
there's a bit of a regression in terms of speed for Firefox (2.0.0.4).

So far I've only looked at the speed decrease when selecting 'input'
elements, so it may be isolated to them or something general.

You'll need Firebug on Firefox. Firebug lite is included though.

Here's a page with using 1.1.2:

   http://krudd.net/jquery113speed/jquery_elementtest_112.html
   Result: setup: 781ms

Here's the same page using 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113.html
   Result: setup: 1937ms

And for kicks I looked at using "straight" DOM methods to select the
'inputs' (getElementsByTagName) and 1.1.3:

   http://krudd.net/jquery113speed/jquery_elementtest_113_dom.html
   Result: setup: 531ms

I haven't had time to dig through the 1.1.3 source to see where the
slowdown could be occurring. Anyone have any ideas?

Under IE there is a similar, though markedly smaller, slow down
between 1.1.2 and 1.1.3.

Karl Rudd

Reply via email to