Closed
Bug 841154
Opened 11 years ago
Closed 11 years ago
No sample labels for image decoding
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: cjones, Assigned: cjones)
Details
Attachments
(1 file)
1.17 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
We're trying to evaluate a memory/decode tradeoff for bug 840910. To do so, it would help tremendously if we could see image decoding cost nicely ordered in the gecko profiler. Right now it's all a garbled mess. http://people.mozilla.com/~bgirard/cleopatra/#report=4ab8c2cbc0e5bd197334abf942c2a4fcaa0f967e Pointers on where to toss SAMPLE_LABEL()s to see into the darkness?
I don't know what a SAMPLE_LABEL is but Decoder::Write is probably what you want.
Comment 2•11 years ago
|
||
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #1) > I don't know what a SAMPLE_LABEL is It pushes a entry onto the builtin profiler's pseudostack.
Assignee | ||
Comment 3•11 years ago
|
||
Thanks gents, looks like this does the job. http://people.mozilla.com/~bgirard/cleopatra/#report=43dcc3414c6eeb6e613840ba74eebdda099a172a
Assignee: nobody → jones.chris.g
Attachment #713616 -
Flags: review?(khuey)
Comment on attachment 713616 [details] [diff] [review] Add a sample label for image decoding Review of attachment 713616 [details] [diff] [review]: ----------------------------------------------------------------- I'm amused that you tagged me after I said I didn't know what this did :-P
Attachment #713616 -
Flags: review?(khuey) → review+
Assignee | ||
Comment 5•11 years ago
|
||
jlebar explained ;).
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b3970a39cc25
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b3970a39cc25
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•