Bug 558624 - Improve page load performance by adjusting content sink preferences. r=mfinkle. a=blocking fennec

This commit is contained in:
Doug Turner 2010-10-15 14:14:26 -07:00
Родитель e41e281b23
Коммит 103b2750f6
1 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -341,16 +341,10 @@ pref("geo.enabled", true);
// content sink control -- controls responsiveness during page load
// see https://bugzilla.mozilla.org/show_bug.cgi?id=481566#c9
// use interactive mode rather than perf mode since that prioritizes user events while loading
pref("content.sink.enable_perf_mode", 1); // 0 - switch, 1 - interactive, 2 - perf
pref("content.sink.pending_event_mode", 2);
pref("content.sink.event_probe_rate", 5);
pref("content.sink.interactive_deflect_count", 1000);
pref("content.sink.perf_deflect_count", 10);
pref("content.sink.interactive_parse_time",5000);
pref("content.sink.perf_parse_time", 5000);
pref("content.sink.interactive_time", 0);
pref("content.sink.initial_perf_time", 0);
pref("content.sink.enable_perf_mode", 2); // 0 - switch, 1 - interactive, 2 - perf
pref("content.sink.pending_event_mode", 0);
pref("content.sink.perf_deflect_count", 1000000);
pref("content.sink.perf_parse_time", 50000000);
pref("javascript.options.mem.gc_frequency", 300);