Bug 455508 - Investigating 20% Tp regression on fast Talos machines. Up the image cache to 50 MB and turn off time-based expiry. CLOSED TREE for perf testing.
This commit is contained in:
Родитель
a14c61d4be
Коммит
17f5aea7f5
|
@ -534,9 +534,13 @@ nsresult imgLoader::InitCache()
|
|||
os->AddObserver(gCacheObserver, "chrome-flush-skin-caches", PR_FALSE);
|
||||
os->AddObserver(gCacheObserver, "chrome-flush-caches", PR_FALSE);
|
||||
|
||||
#if 0
|
||||
gCacheTracker = new imgCacheExpirationTracker();
|
||||
if (!gCacheTracker)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
#else
|
||||
gCacheTracker = nsnull;
|
||||
#endif
|
||||
|
||||
if (!sCache.Init())
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
|
|
@ -2668,7 +2668,7 @@ pref("toolkit.zoomManager.zoomValues", ".3,.5,.67,.8,.9,1,1.1,1.2,1.33,1.5,1.7,2
|
|||
|
||||
// Image cache prefs
|
||||
// The maximum size, in bytes, of the decoded images we cache
|
||||
pref("image.cache.size", 5242880);
|
||||
pref("image.cache.size", 52428800);
|
||||
// A weight, from 0-1000, to place on time when comparing to size.
|
||||
// Size is given a weight of 1000 - timeweight.
|
||||
pref("image.cache.timeweight", 500);
|
||||
|
|
Загрузка…
Ссылка в новой задаче