Closed Bug 1634198 Opened 5 years ago Closed 5 years ago

Profile RLBox sandboxed ogg decoder

Categories

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

x86_64
Unspecified
task

Tracking

()

RESOLVED FIXED

People

(Reporter: shravanrn, Assigned: shravanrn)

References

Details

I have run the the media playback profiler for the rlbox sandboxed decoder. The results are available here

Unfortunately, it looks like the profiler doesn't seem to pick up symbols on the optimized builds or even optimized_debug builds, so its all just addresses.

Additionally, I am not seeing any liboggwasm.so in the stacktrace, so I'm not sure whether this is capturing decoding overheads.

@padenot: Could you advise on next steps?

Flags: needinfo?(padenot)

Shravan, you can use a Nightly build for this. Additionally, if you want to use your own build you can do a mozconfig like this:

ac_add_options --enable-optimize --enable-debug-symbols --enable-profiling

Flags: needinfo?(padenot)

Profiler for OggDemuxer before and after sandboxing. Profiler run on a 4k 60fps ogv.

Before: https://bit.ly/2KKZ3tf
After: https://bit.ly/3cZ1BQy

Wasn't too careful about keeping the tests in the tests in the before and after consistent, the large takeaway is time in the demuxer is subsumed by other things so overhead is fine. padenot confirmed in chat conversation that this looks alright.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.