mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 666352 - Back out image decode timing changes from bug 590260 to make the browser more responsive while decoding images. r=joe
This commit is contained in:
parent
883d588522
commit
653900117a
@ -3204,10 +3204,10 @@ pref("image.mem.decodeondraw", false);
|
||||
pref("image.mem.min_discard_timeout_ms", 10000);
|
||||
|
||||
// Chunk size for calls to the image decoders
|
||||
pref("image.mem.decode_bytes_at_a_time", 200000);
|
||||
pref("image.mem.decode_bytes_at_a_time", 4096);
|
||||
|
||||
// The longest time we can spend in an iteration of an async decode
|
||||
pref("image.mem.max_ms_before_yield", 400);
|
||||
pref("image.mem.max_ms_before_yield", 5);
|
||||
|
||||
// The maximum source data size for which we auto sync decode
|
||||
pref("image.mem.max_bytes_for_sync_decode", 150000);
|
||||
|
Loading…
Reference in New Issue
Block a user