Bug 262700 - Cache total advance width on GlyphBuffer
Summary: Cache total advance width on GlyphBuffer
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-10-05 08:03 PDT by Chris Dumez
Modified: 2023-10-12 08:04 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>