Monday, July 2nd, 2007

jQuery 1.1.3: 800%+ Faster, still 20KB

Category: Announcements, jQuery

<p>The jQuery team has a new release, jQuery 1.1.3. The main features are:

  • Improved speeds, with DOM traversal over 800% faster than in 1.1.2
  • A re-written event system, with more graceful handling of keyboard events
  • A re-written effects system (with an accompanying fx test suite), featuring faster execution and better cross-platform support
  • New selectors: Unicode, Escape, Inequality, and more
  • Animation Improvements: You can run more simultaneous animations without incurring any speed hits
  • $(“div”).is(“:visible, :first”)
  • jQuery.browser.version

jQuery UI

Today, we’re also pleased to announce a secret project that we’ve been working on: jQuery UI. This project, being written by Paul Bakaus, is a whole new Drag & Drop library being developed from the ground up with speed and extensibility taken into consideration. Additionally, great care is being taken to have the code be fully documented and tested — allowing many other developers to use and help extend it.

This library will contain full code for Draggables, Droppables, Sortables, Resizables, and a Slider.

NOTE: At the San Francisco Ajax Experience, John Resig will be giving an introductory overview to jQuery followed by an advanced jQuery talk. Glen Lipka will be giving a talk on designing with jQuery.

Related Content:

Posted by Dion Almaer at 7:42 am
21 Comments

+++--
3.5 rating from 98 votes

21 Comments »

Comments feed TrackBack URI

Wow, great news!

Comment by Калоян К. Цветков — July 2, 2007

Buenas Noticias!!!!!!

Comment by Oscar Antolinez — July 2, 2007

Awesome, speed is very important

Comment by bietchetlien — July 2, 2007

That is 20kb compressed (most JS frameworks are that small now),
Prototype compressed is 15kb-22kb, dojo (new release) is 20 ish)…

Comment by todd — July 2, 2007

Works like charm… thanks again to John and the crew ;-)
What I like especially about jQuery is that it doesn´t overload JS base functionality. To me this has become a key issue, since twoBirds was designed to load foreign libs on demand also. From the first try, jQuery was amazingingly simple in this, it went from trial into production in less than an hour… and it has become my #1 recommendation for effects.

Comment by Frank Thuerigen — July 2, 2007

@Todd; The goal of the team was to improve the speed without adding extra kb, and they succeeded. That is why it is stressed that it is “still” 20kb.

Comment by Gilles — July 2, 2007

@todd:
The 20kb file size is without gzip compression. If you take the jqury.min.js and gzip it, the file size would be only 11kb.

Comment by Brandon Aaron — July 2, 2007

err… jquery.min.js …

Comment by Brandon Aaron — July 2, 2007

Guys, Gilles said it perfectly and this post *IS* about all of the great new updates in jQuery, not file size. The whole file size issue has been hashed and rehashed over and over so how about we focus on the great things that have been updated in the jQuery library instead of trying to nitpick over something as inane as file size.

Comment by Rey Bango — July 2, 2007

When I was new to Ajax and JS frameworks, I opted for prototype\scriptaculous because of their presence on the web. I ton of tutorials and examples, etc.

Within the past 2 months I gave JQuery a shot and I will never look back. I have begun replacing all my sites’ JS with JQuery and I hope that the upcoming books are worth the money!

Comment by bryan — July 2, 2007

even with this update, I will never use this js library/framework.

Comment by mike — July 2, 2007

@Mike:Thats fine. There are many choices out there. Good luck.

Comment by Rey Bango — July 2, 2007

Congratulations and thanks to the JQuery team.
Mike: 1.1.3 – 1.1.2 = 0.0.1 you don’t sell cheap ;)

Comment by Miguel Benevides — July 2, 2007

Thx Miguel :)

Comment by Rey Bango — July 2, 2007

This is just awesome news! i’ve been waiting for this release for a long time!!
great job you guys! :D

Comment by Vsync — July 3, 2007

Anyone know how jQuery’s speed compares to Mootools? Any benchmarks out there?

Comment by justin — July 3, 2007

@Justin: We compare very well in all browsers against all of the popular libs. We realized that we needed to improve our performance and the team worked hard to get us into a very good range as compared to other libs. At this point though, our focus will be on improving other areas of the library, such as UI controls, enhanced event handling, and effects, which is all part of jQuery v1.2 roadmap (http://docs.jquery.com/JQuery_1.2_Roadmap). Thanks for the interest.

Comment by Rey Bango — July 3, 2007

I’m really excited about this! Thanks you jQuery development team for making such huge improvements to an already great (and free) library. I cant wait to use it.

Comment by Josh Giese — July 3, 2007

awesome news

Comment by Daniel Rust — July 3, 2007

The sizes seem to all be relatively the same now these days. As all are gZipped and compressed, you’re getting the same stuff. But this is still excellent news. Awesome for John. This is very cool. Haven’t peaked at source yet, but I’m wondering if John borrowed any of Jack’s Dom Query.

Comment by Dustin Diaz — July 3, 2007

@Dustin: I haven’t looked at Dom Query in ages. I did check out some of the code in Prototype for some ideas, but mostly just resorted to writing new things from scratch. In fact, my new :nth-child() code has already been nabbed by Jack and put in Dom Query.

Comment by John Resig — July 3, 2007

Leave a comment

You must be logged in to post a comment.