Bug 114875

Summary: [Mac] ComplexTextController is slow with large numbers of text runs.
Product: WebKit Reporter: Andreas Kling <kling>
Component: TextAssignee: Andreas Kling <kling>
Severity: Normal CC: kling, mitz, ned
Priority: P2 Keywords: InRadar, Performance
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Proposed patch mitz: review+

Description Andreas Kling 2013-04-19 07:33:01 PDT

For content with long spans of complex text, we sometimes get stuck in ComplexTextController::indexOfCurrentRun() for a while, specifically in the loop that finds the leftmost glyph at the end.
Comment 1 Andreas Kling 2013-04-19 08:26:15 PDT
Created attachment 198856 [details]
Proposed patch
Comment 2 Andreas Kling 2013-04-19 09:16:35 PDT
Committed r148750: <http://trac.webkit.org/changeset/148750>