Big Speed Increases with jQuery 1.1a
8 January 2007 | Tutorials | No Comments
On the same day I’m about to announce a fantastic new plugin, John Resig announces the release of jQuery 1.1 and promises huge speed increases:
" We’ll be releasing some final numbers soon, but we’re looking at 4x-10x speed improvements - with some selectors seeing a 30x speed bump."
I’m going to test my plugin with the latest version of jQuery, so be sure you’re subscribed to my RSS feed for the upcoming announcement.
Cheat sheet
Here is some vital info on key changes found in this release:
| Old Way (1.0.x) | New Way (1.1) |
|---|---|
| .ancestors() | .parents() |
| .width() | .css(”width”) |
| .height() | .css(”height”) |
| .top() | .css(”top”) |
| .left() | .css(”left”) |
| .position() | .css(”position”) |
| .float() | .css(”float”) |
| .overflow() | .css(”overflow”) |
| .color() | .css(”color”) |
| .background() | .css(”background”) |
| .id() | .attr(”id”) |
| .title() | .attr(”title”) |
| .name() | .attr(”name”) |
| .href() | .attr(”href”) |
| .src() | .attr(”src”) |
| .rel() | .attr(”rel”) |
| .oneblur(fn) | .one(”blur”,fn) |
| .onefocus(fn) | .one(”focus”,fn) |
| .oneload(fn) | .one(”load”,fn) |
| .oneresize(fn) | .one(”resize”,fn) |
| .onescroll(fn) | .one(”scroll”,fn) |
| .oneunload(fn) | .one(”unload”,fn) |
| .oneclick(fn) | .one(”click”,fn) |
| .onedblclick(fn) | .one(”dblclick”,fn) |
| .onemousedown(fn) | .one(”mousedown”,fn) |
| .onemouseup(fn) | .one(”mouseup”,fn) |
| .onemousemove(fn) | .one(”mousemove”,fn) |
| .onemouseover(fn) | .one(”mouseover”,fn) |
| .onemouseout(fn) | .one(”mouseout”,fn) |
| .onechange(fn) | .one(”change”,fn) |
| .onereset(fn) | .one(”reset”,fn) |
| .oneselect(fn) | .one(”select”,fn) |
| .onesubmit(fn) | .one(”submit”,fn) |
| .onekeydown(fn) | .one(”keydown”,fn) |
| .onekeypress(fn) | .one(”keypress”,fn) |
| .onekeyup(fn) | .one(”keyup”,fn) |
| .oneerror(fn) | .one(”error”,fn) |
| .unblur(fn) | .unbind(”blur”,fn) |
| .unfocus(fn) | .unbind(”focus”,fn) |
| .unload(fn) | .unbind(”load”,fn) |
| .unresize(fn) | .unbind(”resize”,fn) |
| .unscroll(fn) | .unbind(”scroll”,fn) |
| .ununload(fn) | .unbind(”unload”,fn) |
| .unclick(fn) | .unbind(”click”,fn) |
| .undblclick(fn) | .unbind(”dblclick”,fn) |
| .unmousedown(fn) | .unbind(”mousedown”,fn) |
| .unmouseup(fn) | .unbind(”mouseup”,fn) |
| .unmousemove(fn) | .unbind(”mousemove”,fn) |
| .unmouseover(fn) | .unbind(”mouseover”,fn) |
| .unmouseout(fn) | .unbind(”mouseout”,fn) |
| .unchange(fn) | .unbind(”change”,fn) |
| .unreset(fn) | .unbind(”reset”,fn) |
| .unselect(fn) | .unbind(”select”,fn) |
| .unsubmit(fn) | .unbind(”submit”,fn) |
| .unkeydown(fn) | .unbind(”keydown”,fn) |
| .unkeypress(fn) | .unbind(”keypress”,fn) |
| .unkeyup(fn) | .unbind(”keyup”,fn) |
| .unerror(fn) | .unbind(”error”,fn) |
Download
It’s in alpha, so this is for testing only, but here’s the link.
Subscribe
Leave a Reply
You can follow the discussion through the Comments feed. You can also pingback or trackback from your own site.





