Changeset 88611 in webkit


Ignore:
Timestamp:
Jun 11, 2011 11:01:25 PM (13 years ago)
Author:
msaboff@apple.com
Message:

2011-06-11 Michael Saboff <msaboff@apple.com>

Reviewed by James Robinson.

REGRESSION(88260): 10-50% performance regression across many page cyclers
https://bugs.webkit.org/show_bug.cgi?id=62349

Made CHROMIUM platform specific values for cMaxInactiveFontData and
cTargetInactiveFontData to mitigate the current performance issue on Chromium
page cycler tests. Made the chromium value for cMaxInactiveFontData 250 based
on recommendation from James Robinson. Changed cTargetInactiveFontData to 200
so that 50 inactive fonts will be cleaned up at a time.

Change made to address existing Chromium performance test regression.

  • platform/graphics/FontCache.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88610 r88611  
     12011-06-11  Michael Saboff  <msaboff@apple.com>
     2
     3        Reviewed by James Robinson.
     4
     5        REGRESSION(88260): 10-50% performance regression across many page cyclers
     6        https://bugs.webkit.org/show_bug.cgi?id=62349
     7
     8        Made CHROMIUM platform specific values for cMaxInactiveFontData and
     9        cTargetInactiveFontData to mitigate the current performance issue on Chromium
     10        page cycler tests.  Made the chromium value for cMaxInactiveFontData 250 based
     11        on recommendation from James Robinson.  Changed cTargetInactiveFontData to 200
     12        so that 50 inactive fonts will be cleaned up at a time.
     13
     14        Change made to address existing Chromium performance test regression.
     15
     16        * platform/graphics/FontCache.cpp:
     17
    1182011-06-11  Adam Barth  <abarth@webkit.org>
    219
  • trunk/Source/WebCore/platform/graphics/FontCache.cpp

    r88428 r88611  
    252252static FontDataCache* gFontDataCache = 0;
    253253
    254 const int cMaxInactiveFontData = 120; // Pretty Low Threshold
    255 const int cTargetInactiveFontData = 100;
     254#if PLATFORM(CHROMIUM)
     255const int cMaxInactiveFontData = 250;
     256const int cTargetInactiveFontData = 200;
     257#else
     258const int cMaxInactiveFontData = 50; // Pretty Low Threshold
     259const int cTargetInactiveFontData = 30;
     260#endif
    256261static ListHashSet<const SimpleFontData*>* gInactiveFontData = 0;
    257262
Note: See TracChangeset for help on using the changeset viewer.