Chromium Code Reviews
DescriptionImprove the speech panel's performance
Currently, ChromeVox sends all queued speech output to the speech panel.
This unfortunately causes performance issues.
For example, in Gmail, if ChromeVox sends ~500 utterances, which can happen if we have a large block of text (since we split on sentences), ChromeVox stops responding to key commands.
ChromeVox should stay responsive in any situation especially if a user taps on the control key repeatedly.
This change makes it so we only show the currently spoken text which gets around the potentially expensive calls to send text to the panel background page (which blocks).
BUG=672955
TBR=dtseng@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2570593002
Cr-Commit-Position: refs/heads/master@{#438083}
(cherry picked from commit 120bb61b5fd467ef232a893bd7b040fc208ee4c4)
Committed: https://chromium.googlesource.com/chromium/src/+/cc01623505fb20e30e21fc34614801be58758e56
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
|||||||||||||||||||