Closed
Bug 1160422
Opened 11 years ago
Closed 10 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•11 years ago
|
Assignee: nobody → seth
| Assignee | ||
Comment 1•11 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•11 years ago
|
||
Updated•10 years ago
|
Attachment #8603116 -
Flags: review?(tnikkel) → review+
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 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•10 years ago
|
||
OK, that try job looks good. This is ready to land. Inbound is closed, so requesting checkin.
Keywords: checkin-needed
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 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
•