Changeset 88428 in webkit


Ignore:
Timestamp:
Jun 8, 2011 11:38:08 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-06-08 James Robinson <jamesr@chromium.org>

Reviewed by Darin Fisher.

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

r88260 fixed a font cache resource leak and lowered the inactive font cache threshold. The latter caused a
significant performance regression across many chromium page cyclers, for example
http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/moz/report.html?history=50&rev=88279.

This restores the previous inactive font size thresholds to their previous values, but retains the font cleanup
logic.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r88421 r88428  
     12011-06-08  James Robinson  <jamesr@chromium.org>
     2
     3        Reviewed by Darin Fisher.
     4
     5        REGRESSION(88260): 10-50% performance regression across many page cyclers
     6        https://bugs.webkit.org/show_bug.cgi?id=62349
     7
     8        r88260 fixed a font cache resource leak and lowered the inactive font cache threshold.  The latter caused a
     9        significant performance regression across many chromium page cyclers, for example
     10        http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/moz/report.html?history=50&rev=88279.
     11
     12        This restores the previous inactive font size thresholds to their previous values, but retains the font cleanup
     13        logic.
     14
     15        * platform/graphics/FontCache.cpp:
     16
    1172011-06-08  Hayato Ito  <hayato@chromium.org>
    218
  • trunk/Source/WebCore/platform/graphics/FontCache.cpp

    r88260 r88428  
    252252static FontDataCache* gFontDataCache = 0;
    253253
    254 const int cMaxInactiveFontData = 50; // Pretty Low Threshold
    255 const int cTargetInactiveFontData = 30;
     254const int cMaxInactiveFontData = 120; // Pretty Low Threshold
     255const int cTargetInactiveFontData = 100;
    256256static ListHashSet<const SimpleFontData*>* gInactiveFontData = 0;
    257257
Note: See TracChangeset for help on using the changeset viewer.