mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 863398 - Optimize B2G's GC settings for responsiveness and benchmarks. r=gwagner f=jlebar
This commit is contained in:
parent
b72d4b8a58
commit
95cafef0a3
@ -556,10 +556,13 @@ pref("javascript.options.mem.log", false);
|
|||||||
// Increase mark slice time from 10ms to 30ms
|
// Increase mark slice time from 10ms to 30ms
|
||||||
pref("javascript.options.mem.gc_incremental_slice_ms", 30);
|
pref("javascript.options.mem.gc_incremental_slice_ms", 30);
|
||||||
|
|
||||||
pref("javascript.options.mem.gc_high_frequency_heap_growth_max", 150);
|
// Increase time to get more high frequency GC on benchmarks from 1000ms to 1500ms
|
||||||
|
pref("javascript.options.mem.gc_high_frequency_time_limit_ms", 1500);
|
||||||
|
|
||||||
|
pref("javascript.options.mem.gc_high_frequency_heap_growth_max", 300);
|
||||||
pref("javascript.options.mem.gc_high_frequency_heap_growth_min", 120);
|
pref("javascript.options.mem.gc_high_frequency_heap_growth_min", 120);
|
||||||
pref("javascript.options.mem.gc_high_frequency_high_limit_mb", 40);
|
pref("javascript.options.mem.gc_high_frequency_high_limit_mb", 40);
|
||||||
pref("javascript.options.mem.gc_high_frequency_low_limit_mb", 10);
|
pref("javascript.options.mem.gc_high_frequency_low_limit_mb", 0);
|
||||||
pref("javascript.options.mem.gc_low_frequency_heap_growth", 120);
|
pref("javascript.options.mem.gc_low_frequency_heap_growth", 120);
|
||||||
pref("javascript.options.mem.high_water_mark", 6);
|
pref("javascript.options.mem.high_water_mark", 6);
|
||||||
pref("javascript.options.mem.gc_allocation_threshold_mb", 1);
|
pref("javascript.options.mem.gc_allocation_threshold_mb", 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user