GeckoView: Long periods of parent process jank due to PDocAccessible Batch and sync Extents messages
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
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:
- Login to Twitter
- 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.
Comment 1•6 years ago
|
||
Eitan, could you please take a look?
Comment 2•6 years ago
|
||
This profile looks like what I thought I fixed in bug 1576549. Do we know what version it uses?
| Reporter | ||
Comment 3•6 years ago
|
||
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.
| Reporter | ||
Comment 4•6 years ago
|
||
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.
Description
•