зеркало из https://github.com/mozilla/gecko-dev.git
Bug 193911. Increase the disk cache size from 50 megs to 250 megs. This will show a significant increase in talos numbers, and it will thus look like a cpu usage regression since all of talos now fits in the cache. r=cbiesinger@gmail.com, sr=bzbarsky@mit.edu, a=jst@mozilla.org
This commit is contained in:
Родитель
f4927c17c9
Коммит
3f3b52d409
|
@ -60,7 +60,7 @@ pref("browser.bookmarks.max_backups", 5);
|
||||||
|
|
||||||
pref("browser.cache.disk.enable", true);
|
pref("browser.cache.disk.enable", true);
|
||||||
#ifndef WINCE
|
#ifndef WINCE
|
||||||
pref("browser.cache.disk.capacity", 51200);
|
pref("browser.cache.disk.capacity", 256000);
|
||||||
#else
|
#else
|
||||||
pref("browser.cache.disk.capacity", 20000);
|
pref("browser.cache.disk.capacity", 20000);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
#define DISK_CACHE_DIR_PREF "browser.cache.disk.parent_directory"
|
#define DISK_CACHE_DIR_PREF "browser.cache.disk.parent_directory"
|
||||||
#define DISK_CACHE_CAPACITY_PREF "browser.cache.disk.capacity"
|
#define DISK_CACHE_CAPACITY_PREF "browser.cache.disk.capacity"
|
||||||
#define DISK_CACHE_MAX_ENTRY_SIZE_PREF "browser.cache.disk.max_entry_size"
|
#define DISK_CACHE_MAX_ENTRY_SIZE_PREF "browser.cache.disk.max_entry_size"
|
||||||
#define DISK_CACHE_CAPACITY 51200
|
#define DISK_CACHE_CAPACITY 256000
|
||||||
|
|
||||||
#define OFFLINE_CACHE_ENABLE_PREF "browser.cache.offline.enable"
|
#define OFFLINE_CACHE_ENABLE_PREF "browser.cache.offline.enable"
|
||||||
#define OFFLINE_CACHE_DIR_PREF "browser.cache.offline.parent_directory"
|
#define OFFLINE_CACHE_DIR_PREF "browser.cache.offline.parent_directory"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче