Closed Bug 841154 Opened 11 years ago Closed 11 years ago

No sample labels for image decoding

Categories

(Core :: Graphics: ImageLib, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla21

People

(Reporter: cjones, Assigned: cjones)

Details

Attachments

(1 file)

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.
(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.
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+
jlebar explained ;).
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.

Attachment

General

Created:
Updated:
Size: