New issue
Advanced search Search tips

Issue 643256 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Bug
Team-Accessibility



Sign in to add a comment

Opening dev tools is slow when accessibility is enabled

Project Member Reported by ellyjo...@chromium.org, Sep 1 2016

Issue description

OS: 10.12 beta
Chrome: 55.0.2846.0 debug build

1) Open a tab and leave it at the new tab page
2) Enable VoiceOver (command-f5)
3) Open developer tools

The browser goes completely unresponsive for over a minute. *Eventually*, it finishes updating the dev tools pane, so it's not hung, just working very very slowly.
 
Some digging with Instruments:

The devtools helper process spends a great deal of time inside content::RenderAccessibilityImpl(), specifically in ui::AXTreeSerializer::SerializeChanges(). In a 1.2min run, sampled with Instruments, the helper spent 54 seconds inside ui::AXTreeSerializer::SerializeChanges().
If a release build is a bit slower with VoiceOver on but still usable, then this is working as intended and probably not a recent regression.

Also: SerializeChanges is expected if accessibility is slow; that's what triggers most of the work.

I'd be curious what the top function is once you get inside Blink - something in one of the AXObject subclasses, so the top function matching AXObject::, AXNodeObject::, or AXLayoutObject::

Owner: dmazz...@chromium.org
Status: Assigned (was: Untriaged)
We need to fix it, we are getting requests like this too often.
Pavel, are you able to point to any other bugs filed about this to help diagnose?
Labels: -OS-Mac OS-All
Summary: Opening dev tools is slow when accessibility is enabled (was: VoiceOver: opening dev tools grinds browser to a halt)
Labels: NewComponent-Accessibility-Internals NewComponent-Accessibility
Components: Internals>Accessibility
Components: -UI>Accessibility
Labels: -newcomponent-accessibility-internals -newcomponent-accessibility
Status: WontFix (was: Assigned)
Closing this since we have other bugs tracking performance, and debug mode is not expected to be fast.

Sign in to add a comment