mozilla::a11y::ProxyAccessible::Bounds is slow on GeckoView when clicking date field on hotels.com
Categories
(Core :: Disability Access APIs, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: m_kato, Assigned: eeejay)
References
Details
(Keywords: perf:responsiveness)
Attachments
(1 file)
When clicking date field on hotels.com, mozilla::a11y::ProxyAccessible::Bounds (to update viewport cache) spends a lot of times because SendExtents is sync IPC.
Could you change this to async IPC?
| Reporter | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 1•7 years ago
|
||
Hi Makoto,
What device did you experience this on?
Thanks!
Updated•7 years ago
|
| Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Denis Palmeiro [:denispal] from comment #1)
Hi Makoto,
What device did you experience this on?
Thanks!
Pixel2 and XPERIA XZ2 compact. I think that issue occurs on all devices. I guess that this issue is that a11y tries to update view port cache per animation. So profiler shows that a lot of sync calls by a11y.
Original case is bug 1517635. When turning off a11y via accessibility.force_disabled=1, bug 1517635's test case becomes smooth.
Comment 3•7 years ago
|
||
Removing the [geckoview] whiteboard tag because this a11y perf problem is probably not in GeckoView code.
| Assignee | ||
Comment 4•7 years ago
|
||
We have a special async Batch message that is supposed to make us avoid sync IPC calls, looks like I overlooked the bounds data we receive and still make a sync call. oops!
Easy fix.
| Assignee | ||
Comment 5•7 years ago
|
||
Comment 7•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Comment 8•7 years ago
|
||
| bugherder uplift | ||
Updated•4 years ago
|
Description
•