Ticket #2529132 (closed defect)

Reporter


Satyen Desai
Opened: 07/29/10
Last modified: 09/7/10
Status: closed
Type: defect
Resolution: fixed

Owner


Satyen Desai
Target Release: 3.2.0
Priority: P3 (normal)
Summary: Optimize scrollview scrollbar implementation for performance
Description:

The scrollview scrollbar implementation has multiple transitions going on. Seems like we could change the implementation from 3 absolutely positioned pieces to static and remove the need for some of
those transitions. Also there are some kweight optimizations which could be possible.

Type: defect Observed in Version: 3.2.0 PR1
Component: ScrollView Severity: S3 (normal)
Assigned To: Satyen Desai Target Release: 3.2.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

Satyen Desai

YUI Developer

Posted: 08/5/10
  • status changed from accepted to checkedin

Closing out.

Major refactoring below:

a) Cache more stuff (esp. attr get, dom interaction) during transition/animation frames to avoid function hops.
b) Move from setTimeout to setInterval (through Y.later) to avoid anon fn wrappers for each frame.
c) kweight: move duplicate code patterns for horiz/vert into shared methods.

George

YUI Developer

Posted: 09/7/10
  • resolution changed to fixed

George

YUI Developer

Posted: 09/7/10
  • status changed from checkedin to closed