Bug 98622 - Robohornet's reflow test spends 2% of total time in recommendedScrollerStyle()
Summary: Robohornet's reflow test spends 2% of total time in recommendedScrollerStyle()
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 98623 (view as bug list)
Depends on:
Blocks: 98798
  Show dependency treegraph
 
Reported: 2012-10-07 12:49 PDT by Eric Seidel (no email)
Modified: 2012-10-11 16:41 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2012-10-07 12:49:56 PDT
Robohornet's reflow test spends 2% of total time in recommendedScrollerStyle()

http://www.robohornet.org/tests/offsetreflow.html

An easy fix would be to cache the preferredScrollerStyle value and listen for the notification:
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html#//apple_ref/occ/clm/NSScroller/preferredScrollerStyle

Unclear how much (if at all) this affects real web content.
Comment 1 Eric Seidel (no email) 2012-10-07 15:06:56 PDT
*** Bug 98623 has been marked as a duplicate of this bug. ***