Bug 262700

Summary: Cache total advance width on GlyphBuffer
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Layout and RenderingAssignee: Chris Dumez <cdumez>
Status: ASSIGNED ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2023-10-05 08:03:58 PDT
Cache total advance width on GlyphBuffer so that FontCascade::widthForSimpleText() can get it cheaply. FontCascade::widthForSimpleText() is hot on profiles.
Comment 1 Chris Dumez 2023-10-05 08:12:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18694
Comment 2 Radar WebKit Bug Importer 2023-10-12 08:04:13 PDT
<rdar://problem/116863058>