Open Bug 1642276 Opened 4 years ago Updated 2 years ago

Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Tracking Status
firefox78 --- affected

People

(Reporter: yoasif, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Seeing the red animation after enabling gfx.webrender.debug.slow-frame-indicator on https://store.google.com/us/product/pixelbook_go

Profile: https://share.firefox.dev/2XMQp3A

Profile is me scrolling all the way down the page using touchpad.

Slow Frame #01 Frame 156(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1827 - Transaction start 11.459014, main-thread time 99.476850, full paint time 208.411094, Skipped composites 0, Composite start 242.557497, Resource upload time 13.101373, GPU cache upload time 0.289169, Render time 34.833641, Composite time 61.783392
Slow Frame #02 Frame 160(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1509 - Transaction start 5.521032, main-thread time 94.302533, full paint time 153.631882, Skipped composites 0, Composite start 200.572053, Resource upload time 28.852455, GPU cache upload time 1.189817, Render time 37.609782, Composite time 50.696237
Slow Frame #03 Frame 89(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1361 - Transaction start 119.481641, main-thread time 63.423832, full paint time 64.169060, Skipped composites 0, Composite start 186.667941, Resource upload time 15.120713, GPU cache upload time 0.217612, Render time 25.508561, Composite time 27.010218
Slow Frame #04 Frame 9(https://profiler.firefox.com/from-addon/calltree/?globalTrackOrder=6-7-8-0-1-2-3-4-5&hiddenGlobalTracks=1-2-3-4&localTrackOrderByPid=610962-2-3-0-1~611032-0~611204-0~611132-0~611105-0~611057-0-1~&thread=7&v=4) CONTENT_FRAME_TIME 1302 - Transaction start 170.914139, main-thread time 10.199938, full paint time 11.426762, Skipped composites 0, Composite start 187.993525, Resource upload time 0.000000, GPU cache upload time 0.000000, Render time 0.045678, Composite time 0.606854
Slow Frame #05 Frame 68(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1283 - Transaction start 14.570031, main-thread time 102.864283, full paint time 116.607243, Skipped composites 0, Composite start 146.524712, Resource upload time 37.158915, GPU cache upload time 0.183646, Render time 44.068731, Composite time 52.122140
Slow Frame #06 Frame 157(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1227 - Transaction start 22.269403, main-thread time 65.624756, full paint time 101.216607, Skipped composites 0, Composite start 135.476202, Resource upload time 2.829171, GPU cache upload time 0.000545, Render time 33.308809, Composite time 68.586898
Slow Frame #07 Frame 159(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1144 - Transaction start 21.714121, main-thread time 11.063475, full paint time 21.308450, Skipped composites 0, Composite start 77.032029, Resource upload time 36.174103, GPU cache upload time 0.448653, Render time 82.563015, Composite time 110.130662
Slow Frame #08 Frame 125(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 1109 - Transaction start 102.098659, main-thread time 12.490696, full paint time 19.448072, Skipped composites 0, Composite start 133.483624, Resource upload time 3.442901, GPU cache upload time 0.158063, Render time 42.722682, Composite time 49.970919
Slow Frame #09 Frame 13(https://profiler.firefox.com/from-addon/calltree/?globalTrackOrder=6-7-8-0-1-2-3-4-5&hiddenGlobalTracks=1-2-3-4&localTrackOrderByPid=610962-2-3-0-1~611032-0~611204-0~611132-0~611105-0~611057-0-1~&thread=7&v=4) CONTENT_FRAME_TIME 1008 - Transaction start 0.000000, main-thread time 7.540448, full paint time 8.654101, Skipped composites 0, Composite start 10.333482, Resource upload time 0.000000, GPU cache upload time 0.000000, Render time 0.033911, Composite time 0.837715
Slow Frame #10 Frame 121(https://store.google.com/us/product/pixelbook_go) CONTENT_FRAME_TIME 957 - Transaction start 54.602340, main-thread time 33.486592, full paint time 38.004052, Skipped composites 0, Composite start 103.443279, Resource upload time 3.329131, GPU cache upload time 0.128207, Render time 42.385643, Composite time 55.703264

Profile without screenshots: https://share.firefox.dev/2BkvjSt

Summary: Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store → Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store (GPU bound)

The page is running some WebGL, and we synchronously decode images during texture upload. I think the slow frames are caused by the page.
Does Chrome have less CPU usage on this page?

Hard to tell CPU use on multi-core machines but Chromium appears to take less CPU. It isn't great in any case and I agree that the page is bad.

Severity: -- → S3

GPU times look OK now, however I see a lot of jank during the animation with the black laptop opening up. It looks like the renderer is spending a lot of time uploading textures.

Depends on: texture-upload-perf
No longer depends on: slow-frames

GPU times look OK now, however I see a lot of jank during the animation with the black laptop opening up. It looks like the renderer is spending a lot of time uploading textures.

Summary: Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store (GPU bound) → Slow frames, CPU heating up on Google Pixelbook Go product page on Google Store
Blocks: wr-perf-graveyard
No longer blocks: wr-perf
You need to log in before you can comment on or make changes to this bug.