Closed Bug 463576 Opened 16 years ago Closed 3 years ago

Add a gfxFontGroupCache

Categories

(Core :: Graphics, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: karlt, Assigned: karlt)

References

Details

A gfxFontGroupCache could be similar to our current gfxFontCache that holds fonts for a period of time before they expire. On Linux, I expect this could save an average of around 8-10% on time for reloading the same page or viewing a similar page (probably on the same site), due to avoiding the need to repeat font selection. I don't have an estimate for other platforms. The font group is sometimes used as a key to the gfxTextRunWordCache, so reusing the same gfxFontGroup where possible could provide some savings there too.
Blocks: 463592
Since bug 703100 there is no longer a gfxTextRunWordCache, but I expect this bug is more important now that bug 703100 removed font selection caching.
See Also: → 1100738
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.