#2679 closed bug (fixed)
slider performance problem
Reported by: | therve | Owned by: | joern |
---|---|---|---|
Priority: | major | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Using latest version of UI (1.5b2), I have seen a big performance problem with the slider: moving it feels really sluggish.
I have profiled the script and most of the time is spent in the css function. It seems this is called by handleSize for each mouse move (it calls outerWidth/outerHeight).
I don't know all the corner cases, but this width is fixed for me so it's totally useless to calculate it each time. This should be cached during initialization, if possible.
Attachments (1)
Change History (6)
Changed 15 years ago by
Attachment: | slide.diff added |
---|
comment:2 Changed 15 years ago by
Owner: | changed from paul to joern |
---|
comment:5 Changed 14 years ago by
Milestone: | → 1.5 |
---|
Note: See
TracTickets for help on using
tickets.
Patch fixing my problem