Closed Bug 1613756 Opened 6 years ago Closed 6 years ago

GeckoView: Long periods of parent process jank due to PDocAccessible Batch and sync Extents messages

Categories

(Core :: Disability Access APIs, defect, P1)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: mstange, Unassigned)

Details

Extracted from bug 1610147:

I am on a Pixel 2 and I enabled WebRender on GeckoView example to more closely try to match what I am seeing in Fenix.

Steps to reproduce:

  1. Login to Twitter
  2. Pull down on page 4 times

Profile here: https://perfht.ml/31x4kvV

The profile shows periods of 100ms+ jank in the parent process.
This seems to happen because the content process main thread is busy with paints, and parent keeps sending sync PDocAccessible::Extents calls into content, and those individual messages interleave with the slow paints.

If this message really has to be synchronous, then the number of sync messages should be minimized. Sending bursts of messages like this will interleave with other work on the thread and make everything take longer overall.

The profile doesn't show full stacks in some places unfortunately (due to bug 1529108) so it needs some guesswork.

Eitan, could you please take a look?

Flags: needinfo?(eitan)
Priority: -- → P1

This profile looks like what I thought I fixed in bug 1576549. Do we know what version it uses?

It's shown in the profile in the top right corner - but huh! It's using a mozilla-central from July 2019! I'll ask the original reporter what's up.

Sorry about the noise, this was an old build, so I'm closing this bug. I'll reopen if I see the problem come up again in a modern build.

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(eitan)
Resolution: --- → INVALID
Whiteboard: [qf]
You need to log in before you can comment on or make changes to this bug.