Skip to main content

Search and Top Navigation

#2679 closed bug (fixed)

Opened April 11, 2008 09:36AM UTC

Closed May 04, 2008 08:15AM UTC

Last modified February 26, 2009 12:05PM UTC

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 (0)
Change History (5)

Changed April 11, 2008 12:29PM UTC by therve comment:1

I attached a patch that solved the problem for me.

Changed April 16, 2008 08:33AM UTC by paul comment:2

owner: pauljoern

Changed May 04, 2008 08:15AM UTC by paul comment:3

resolution: → fixed
status: newclosed

Fixed in r5400.

Changed May 24, 2008 03:39AM UTC by comment:4

milestone: 1.2.4

Milestone 1.2.4 deleted

Changed February 26, 2009 12:05PM UTC by paul comment:5

milestone: → 1.5