Open Bug 1688963 Opened 4 years ago Updated 2 years ago

WebRender initialization can block the main thread for an appreciable amount of time

Categories

(Core :: Graphics: WebRender, defect)

defect

Tracking

()

Performance Impact medium

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf:startup, Whiteboard: [bhr:PWebRenderBridge::Msg_EnsureConnected])

Whenever we open a window, the main thread blocks in PWebRenderBridgeChild::SendEnsureConnected. Apparently this can take a while, because this stack shows up on the background hang reporter dashboard.

http://queze.net/bhr/test/

Severity: -- → S3

On Fenix startup, I'm seeing about 55ms in the PWebRenderBridge::Msg_EnsureConnected sync IPC message. (Moto G5)

https://share.firefox.dev/3vDLHFo

Startup profile showing that we get blocked for >400ms on PCompositorWidget::Msg_Initialize https://share.firefox.dev/3JKTk2S

Performance Impact: --- → ?
Depends on: 1756721
Performance Impact: ? → P2
You need to log in before you can comment on or make changes to this bug.