shop.nestle.jp shows slower than Chrome (slow Msaa calls in the parent process)
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
Performance Impact | medium |
People
(Reporter: smaug, Unassigned)
References
Details
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1752764
https://share.firefox.dev/3ISImrE profile shows rather slow Msaa calls in the parent process, causing major jank.
Is there anything we could do to those?
Comment 1•3 years ago
|
||
This is usually due to one or both of two things:
- Some a11y client is making a huge number of a11y queries; e.g. crawling the tree or responding to a lot of events.
- The content process is busy doing something, and since the a11y queries are sync calls from the parent process, that in turn blocks the parent process.
I'm not great at using the profiler, but I don't see huge periods of busyness in the content process that could account for 2) alone. We are sending a sync a11y text change from content and that takes some time, but sync IPDL calls from content still allow incoming a11y calls from parent, so that shouldn't block anything. I guess if the parent process is busy doing other things, that would prevent the content main thread from doing anything other than answering a11y queries until the parent process handles the sync text changed event, which would in turn slow down the whole scenario.
I'd be interested to know whether this problem goes away with accessibility.cache.enabled set to true (needs browser restart). That won't get rid of the sync text change event (yet), but it should prevent a11y clients from blocking the parent process.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 2•2 years ago
|
||
I can't reproduce any performance problem here with the new accessibility architecture (Cache the World), which is enabled in Firefox 113 by default. Please reopen if the problem persists.
Description
•