The default bug view has changed. See this FAQ.

measure system font fallback times and other cases where fonts are enumerated

RESOLVED FIXED in mozilla11

Status

()

Core
Graphics
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jtd, Assigned: jtd)

Tracking

Trunk
mozilla11
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
In some situations font code is now forced to iterate over all fonts in the system, to find a font for a given character, or to look up a localized font name.  The chromehang patch (bug 429592) appears to be seeing hangs in GetFontData, one of the routines called when system font fallback occurs (bug 705258).  Essentially this is inferring that iterating over fonts takes >30 secs for some users.

To verify this, we should instrument the system font fallback code and the other names code with telemetry probes to tell us what the histogram of response times are.
(Assignee)

Comment 1

5 years ago
Created attachment 577513 [details] [diff] [review]
patch, add in timing of system font fallback

This adds two histograms for measuring system font fallback timing.  The first time is separated out because the first time cmaps are pulled in if not already cached.
Attachment #577513 - Flags: review?(jmuizelaar)
Attachment #577513 - Flags: review?(jmuizelaar) → review+
(Assignee)

Comment 2

5 years ago
Landed on mozilla-inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/a36ee10d4f5d
(Assignee)

Updated

5 years ago
Blocks: 705258
https://hg.mozilla.org/mozilla-central/rev/a36ee10d4f5d
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
You need to log in before you can comment on or make changes to this bug.