[Webkit-unassigned] [Bug 21451] New: tune cMaxInactiveFontData when cleaning old FontData

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 7 15:29:12 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21451

           Summary: tune cMaxInactiveFontData when cleaning old FontData
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mike at belshe.com


When Chromium picked up the latest WebKit; we discovered that our international
page cycler test took a ~20% performance hit.  This was due to the FontData
cleanup.  The test is a bit brutal, as it intentionally uses more fonts than
users are likely to use.

It turns out that tuning cMaxInactiveFontData (FontCache.cpp) from a constant
120 to a constant 256 works around the problem with this test.

I'm hoping that this value is currently somewhat arbitrary, so that nobody
objects to this change.  However, I could submit a patch to allow
platform-specific tuning of this value if that is preferred.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list