[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-05 Thread George Adamson

Ever more impressive. Well done you lot, you make us proud!

George


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett

Looks like another good release, yet more performance improvements and
a few useful new features!

Regarding speed testing, maybe it is worth mentioning the PC
specification of the machine that performs these tests?

For example, mine (Core Duo 1.6Ghz)

.extend()
1.2.3 - 63
1.2.6 - 46

.map()
1.2.3 - 2268
1.2.6 - 203

Still a performance improvement, but not as great as the test machine
- i.e. the faster the client PC processor, the better the performance
improvement (I don't think RAM will have much of an impact as the CPU
is doing the work).

Perhaps the tests should be done on different spec machines, more so
the low end ones (Celeron, Sempron and Intel Atom)?

-Sam

On Jun 3, 6:46 pm, Rey Bango [EMAIL PROTECTED] wrote:
 jQuery v1.2.6 is now official and release notes have been 
 posted:http://docs.jquery.com/Release:jQuery_1.2.6

 The biggest changes are improvements in performance, especially event
 handling, which is now 103% faster.

 Also, the Dimensions plugin is now part of core. The remaining methods
 of the Dimensions plugin, by Brandon Aaron, have been introduced into
 jQuery core, along with additional bug fixes and performance
 improvements. This plugin has seen considerable use amongst developers
 and plugin authors and has become a solid part of the jQuery ecosystem.
 We've been, slowly, introducing the most-used methods from the
 Dimensions plugin over the past couple releases - but with the release
 of 1.2.6 all remaining methods are now part of core.

 If you're upgrading your copy of jQuery to version 1.2.6 you can now opt
 to exclude the Dimensions plugin from your code.

 There are plenty of other updates so please read the release note for
 full details.

 http://docs.jquery.com/Release:jQuery_1.2.6

 The jQuery Team...


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig

 Still a performance improvement, but not as great as the test machine
 - i.e. the faster the client PC processor, the better the performance
 improvement (I don't think RAM will have much of an impact as the CPU
 is doing the work).

How so? Your .extend() improved by 37% and your .map() improved by
1017%. Those are well within the realm of what we posted. The speed of
the processor shouldn't affect the degree of relative improvement.

--John


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett

I suppose a few % points off isn't that much of a difference and in
some cases were even better. But I expect mine isn't too far off the
test machine.

Think I got my maths the wrong way round:
((1.2.3 time - 1.2.6 time) / 1.2.3 time) * 100

e.g. for .extend():
((63 - 46) / 63) * 100
(17 / 63) * 100 = 27% improvement

Maybe that's why I made that conclusion.

What I am interested in is how the lower spec PC's performed (non-dual
core, entry level machines), to see if multi-core processors actually
make much of a difference (since many users of website using jQuery
will have these type of PC's).

.map() is the major improvement in this release as a few milliseconds
off a fast method like .extend() won't mean as much (although if it is
called a lot it adds up to more savings). .offset() is still a
bottleneck (browser quirks stop any major improvements), but caching
values and restricting how often it is called helps mitigate that (I
think Flash is still far smoother when it comes to mouse tracking and
animation - which can be very slow over a Citrix connection).
Animation performance is not something that can be tested with unit
tests (still need a human to do that).


How does it compare with other libraries now?

-Sam

On Jun 4, 1:21 pm, John Resig [EMAIL PROTECTED] wrote:
  Still a performance improvement, but not as great as the test machine
  - i.e. the faster the client PC processor, the better the performance
  improvement (I don't think RAM will have much of an impact as the CPU
  is doing the work).

 How so? Your .extend() improved by 37% and your .map() improved by
 1017%. Those are well within the realm of what we posted. The speed of
 the processor shouldn't affect the degree of relative improvement.

 --John


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig

.extend() was used extensively in the event handling code, hence the
need for improvement.

 How does it compare with other libraries now?

How does what compare? No other library is making the optimizations we
are - or even examining how to perform faster operations here.

--John


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Sam Collett

Mainly CSS selector tests, but perhaps also methods that may be common
among libraries (like map, extend), but that may be more difficult.

There is this one, but it uses old libraries (not just jQuery):
http://dev.jquery.com/~john/slick/

-Sam

On Jun 4, 3:52 pm, John Resig [EMAIL PROTECTED] wrote:
 .extend() was used extensively in the event handling code, hence the
 need for improvement.

  How does it compare with other libraries now?

 How does what compare? No other library is making the optimizations we
 are - or even examining how to perform faster operations here.

 --John


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread Alexsandro_xpt

Cool!!!



--
www.alexsandro.com.br

On 3 jun, 14:46, Rey Bango [EMAIL PROTECTED] wrote:
 jQuery v1.2.6 is now official and release notes have been 
 posted:http://docs.jquery.com/Release:jQuery_1.2.6

 The biggest changes are improvements in performance, especially event
 handling, which is now 103% faster.

 Also, the Dimensions plugin is now part of core. The remaining methods
 of the Dimensions plugin, by Brandon Aaron, have been introduced into
 jQuery core, along with additional bug fixes and performance
 improvements. This plugin has seen considerable use amongst developers
 and plugin authors and has become a solid part of the jQuery ecosystem.
 We've been, slowly, introducing the most-used methods from the
 Dimensions plugin over the past couple releases - but with the release
 of 1.2.6 all remaining methods are now part of core.

 If you're upgrading your copy of jQuery to version 1.2.6 you can now opt
 to exclude the Dimensions plugin from your code.

 There are plenty of other updates so please read the release note for
 full details.

 http://docs.jquery.com/Release:jQuery_1.2.6

 The jQuery Team...


[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-04 Thread John Resig

Sure, we'll take credit for that :-)

--John

On Wed, Jun 4, 2008 at 12:28 PM, Josh Nathanson [EMAIL PROTECTED] wrote:

 Great job on this release guys.

 I also noticed when developing a plugin that it seems the memory management
 in IE6 is greatly improved.  I accidentally was using 1.2.1 while trying to
 cut memory leaks in IE6, and when I switched to 1.2.6 the memory leaks on
 IE6 were gone.  I'm not sure if it was some combination of my code and
 jQuery...am I imagining this, or is this also something that was worked on,
 or perhaps a by-product of other optimizations?

 -- Josh




[jQuery] Re: jQuery v1.2.6 is now Officially Released and Release Notes are Available

2008-06-03 Thread Jason Huck

This looks fantastic. Thanks to everyone on the team for their
continued hard work. You guys rock!

- jason




On Jun 3, 1:46 pm, Rey Bango [EMAIL PROTECTED] wrote:
 jQuery v1.2.6 is now official and release notes have been 
 posted:http://docs.jquery.com/Release:jQuery_1.2.6

 The biggest changes are improvements in performance, especially event
 handling, which is now 103% faster.

 Also, the Dimensions plugin is now part of core. The remaining methods
 of the Dimensions plugin, by Brandon Aaron, have been introduced into
 jQuery core, along with additional bug fixes and performance
 improvements. This plugin has seen considerable use amongst developers
 and plugin authors and has become a solid part of the jQuery ecosystem.
 We've been, slowly, introducing the most-used methods from the
 Dimensions plugin over the past couple releases - but with the release
 of 1.2.6 all remaining methods are now part of core.

 If you're upgrading your copy of jQuery to version 1.2.6 you can now opt
 to exclude the Dimensions plugin from your code.

 There are plenty of other updates so please read the release note for
 full details.

 http://docs.jquery.com/Release:jQuery_1.2.6

 The jQuery Team...