Closed Bug 1612557 Opened 5 years ago Closed 5 years ago

Add 'Media' category for profiler label

Categories

(Core :: Audio/Video: Playback, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox77 --- wontfix
firefox78 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Now all media playback functions showed in the profiler stack would be put in Other category. We should add a new category and different sub-category to mark different usage of functions.

Severity: normal → N/A
Type: enhancement → task

Target it on this release cycle.

Priority: P3 → P1

Set the flag for Fx77 as well, because I'd like to uplift these patches to Fx77 in order to help us analysis profiled result from Fx77.

Attachment #9146369 - Attachment description: Bug 1612557 - part1 : create a profile category for `Media`. → Bug 1612557 - part1 : create a profiling category `Media`.
Attachment #9146371 - Attachment description: Bug 1612557 - part3 : add Graphic label in 'ImageContainer::SetCurrentImages()'. → Bug 1612557 - part3 : add Graphic label in `ImageContainer::SetCurrentImages()`.
Attachment #9146372 - Attachment description: Bug 1612557 - part4 : use Media category for markers → Bug 1612557 - part4 : use `Media` category for markers

This patch will do :

  • use MediaSampleMarkerPayload to replace VideoFrameMarkerPayload

The advantage of doing so :

  • after finishing a support for MediaSampleMarkerPayload in profiler front-end side, we can show the sample's start and end time when hovering on the marker icon.
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6e386f0eca3a part1 : create a profiling category `Media`. r=bryce,gerald https://hg.mozilla.org/integration/autoland/rev/495a33ed008a part2 : create a sub-category 'Cubeb'. r=padenot https://hg.mozilla.org/integration/autoland/rev/0bd32e4fa068 part3 : add Graphic label in `ImageContainer::SetCurrentImages()`. r=mattwoodrow https://hg.mozilla.org/integration/autoland/rev/8883a6bee292 part4 : use `Media` category for markers r=bryce,gerald,canaltinova https://hg.mozilla.org/integration/autoland/rev/cd62b971a4f4 part5 : use `MediaSampleMarkerPayload` in VideoSink. r=jolin
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: