#3082 closed enhancement (fixed)
Speed improvements for jQuery.css("width"/"height") in combination of dimensions.js
Reported by: | paul | Owned by: | john |
---|---|---|---|
Priority: | major | Milestone: | 1.3.2 |
Component: | dimensions | Version: | 1.3.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
After many tests, the functions outerWidth and outerHeight in dimensions.js, which make calls to innerHeight/innerWidth, and therefore to jQuery.fn.width or jQuery.fn.height, are the main bottleneck of many core interaction modules in jQuery UI.
After investigating, I'm seeing that there's a lot of room for improvement especially in jQuery.css (i.e. the :visible check is quite heavy), and I would like to see if there's anybody who can come up specifically with improvements for
outerWidth outrHeight
Attachments (3)
Change History (7)
comment:1 Changed 15 years ago by
comment:2 Changed 14 years ago by
comment:3 Changed 14 years ago by
Milestone: | 1.3 → 1.3.2 |
---|---|
Owner: | changed from brandon to john |
Version: | 1.2.6 → 1.3.1 |
Changed 14 years ago by
Attachment: | dimension_pseudo_patch.js added |
---|
tried to make it more patch ready...
Changed 14 years ago by
Attachment: | 3082.patch added |
---|
Went through and included the best concepts from the previous patches.
Note: See
TracTickets for help on using
tickets.
dimension_patch.js can be included after jquery to test. A new jQuery function is added called $.size and some others overwritten. I guess it needs to be run through the test suite and debated and probably improved some more... but its a start.