Changeset 88611 in webkit
- Timestamp:
- Jun 11, 2011 11:01:25 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88610 r88611 1 2011-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 1 18 2011-06-11 Adam Barth <abarth@webkit.org> 2 19 -
trunk/Source/WebCore/platform/graphics/FontCache.cpp
r88428 r88611 252 252 static FontDataCache* gFontDataCache = 0; 253 253 254 const int cMaxInactiveFontData = 120; // Pretty Low Threshold 255 const int cTargetInactiveFontData = 100; 254 #if PLATFORM(CHROMIUM) 255 const int cMaxInactiveFontData = 250; 256 const int cTargetInactiveFontData = 200; 257 #else 258 const int cMaxInactiveFontData = 50; // Pretty Low Threshold 259 const int cTargetInactiveFontData = 30; 260 #endif 256 261 static ListHashSet<const SimpleFontData*>* gInactiveFontData = 0; 257 262
Note: See TracChangeset
for help on using the changeset viewer.