Closed Bug 1370427 Opened 7 years ago Closed 7 years ago

Poor performance on 360 video on YouTube which uses WebGL/Canvas

Categories

(Core :: Graphics: CanvasWebGL, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
platform-rel --- ?

People

(Reporter: cpearce, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [platform-rel-Youtube] [gfx-noted])

We're seeing poor performance on YouTube while viewing very high quality 360 video.

It looks like YouTube do 360 by decoding a large video, and using canvas/webgl to transform it to a 2D viewport.

STR:
1. Load 360 video on YouTube, i.e.: https://www.youtube.com/watch?v=HEEIzZ7UjRg
2. Select 4K from the cog menu
3. Pan the 360 video around by clicking and dragging, performance seems worse than Chrome. The settings/cog menu is less responsive (it's been reported that on some machine's the cog menu is extremely unresponsive).

Here's a profile, which I think is showing that we're spending most of our time doing WebGL stuff on the content process' main thread:
https://perfht.ml/2r0mEKc
Blocks: 1322691
platform-rel: --- → ?
Whiteboard: [platform-rel-Youtube]
Keywords: perf
Priority: -- → P3
Whiteboard: [platform-rel-Youtube] → [platform-rel-Youtube] [gfx-noted]
Please retest in Nightly.
No longer blocks: 1322691
Depends on: 1322746
Flags: needinfo?(cpearce)
Works well.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(cpearce)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.