Closed
Bug 1160422
Opened 9 years ago
Closed 9 years ago
Prioritize size decodes over full decodes
Categories
(Core :: Graphics: ImageLib, defect)
Core
Graphics: ImageLib
Tracking
()
RESOLVED
FIXED
mozilla41
Tracking | Status | |
---|---|---|
firefox41 | --- | fixed |
People
(Reporter: seth, Assigned: seth)
References
Details
Attachments
(1 file)
3.41 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
The summary says it all, really. Size decodes (i.e., decoding of image headers) block layout and page load, while full decodes do not. So we should always prioritize size decodes.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → seth
Assignee | ||
Comment 1•9 years ago
|
||
Here's the patch. Pretty simple once we have the infrastructure from bug 1160421 in place. We put size decodes and full decodes in separate queues, and always pop work from the size decode queue before we pop work from the full decode queue.
Attachment #8603116 -
Flags: review?(tnikkel)
Assignee | ||
Comment 2•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fbec6d32b3de
Updated•9 years ago
|
Attachment #8603116 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9a8cdc718441
Assignee | ||
Comment 4•9 years ago
|
||
Thanks for the review! Out of paranoia, I'll wait for one more try job before pushing, since the patch in bug 1160421 and I also want to double check that none of the failures in the try job in comment 2 are related to this patch.
Assignee | ||
Comment 5•9 years ago
|
||
OK, that try job looks good. This is ready to land. Inbound is closed, so requesting checkin.
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c532ea31194f
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•