Bug 98623

Summary: Robohornet's reflow test spends 2% of total time in ScrollbarThemeMac::registerScrollbar calling NSClassFromString("ScrollBarImp")
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: hyatt, jchaffraix
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Seidel (no email) 2012-10-07 12:54:00 PDT
Robohornet's reflow test spends 2% of total time in ScrollbarThemeMac::registerScrollbar calling NSClassFromString("ScrollBarImp")

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

An easy fix would be to cache the class pointer, since it's unlikely to change. :)

Unclear how much (if at all) this affects real web content.
Comment 1 Eric Seidel (no email) 2012-10-07 15:06:56 PDT
Actually, I don't think it's the ClassFromString lookup.  This may just be a dupe of bug 98622.

*** This bug has been marked as a duplicate of bug 98622 ***