Severe performance regression in Firefox while Windows speech recognition is running due to multi-process
Categories
(Core :: Disability Access APIs, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | affected |
firefox61 | --- | affected |
firefox62 | --- | affected |
firefox63 | --- | affected |
People
(Reporter: philipp, Unassigned)
References
(Blocks 2 open bugs)
Details
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
I am experiencing this issue on an installed version of Firefox Quantum 65.0.2 in Windows 10. When Windows Speech Recognition is running, Firefox becomes totally non-responsive. To make matters worse, the speech recognition will only work for a very short amount of time and then will no longer recognize anything that I say. Only way to get it to work is to restart the speech app which only works for a short bit again or to shutdown Firefox which eliminates the problem completely.
I have developed arthritis in my fingers so I really need this working! Unfortunately with my job, I need to have Firefox open all day and I really don't want to switch browsers.
I am more than willing to provide more info or beta test should that help to speed things along.
Comment 5•6 years ago
|
||
I just read 1418290 and found out about the accessibility setting. I tried enabling it to block Windows Speech Recognition from accessing Firefox. It had the intended effect of not killing Firefox's performance.
However as far as the speech recognition, it had the opposite effect. Instead of working for a very short time, it now wouldn't work at all (kept displaying "What was that?") as long as Firefox was running. Shutdown firefox and it suddenly starts working again. So I am back to no workaround short of ditching Firefox. :(
I have put the accessibility setting back to default and managed to slowly get the following info for you.
Activated true
Prevent Accessibility 0
Accessible Handler Used true
Accessibility Instantiator UNKNOWN|C:\Windows\Speech\Common\sapisvr.exe
Comment 6•6 years ago
|
||
New perf profile: https://perfht.ml/2HlgLTv
It looks like there is a UIA bulk fetch going on, but I don't know what WSR is looking for.
Comment 7•6 years ago
|
||
(In reply to James Teh [:Jamie] from comment #6)
New perf profile: https://perfht.ml/2HlgLTv
It looks like there is a UIA bulk fetch going on, but I don't know what WSR is looking for.
With WSR, you can use your voice to click on screen elements by name. So perhaps it is collecting a list of all user interface elements ahead of time.
Thank for you quick response James Teh.
Comment 8•6 years ago
|
||
Today I learned that Windows Speech Recognition must be loaded before the app that you want to control. WSR is now working fine whether Firefox is running or not as long as I start it before Firefox. However Firefox is still unresponsive and basically useless, but at least I can and make use of the Speech Recognition and just put it to sleep it when I need to use Firefox.
This appears to be a duplicate of a 10-year-old bug here that is still unresolved:
https://bugzilla.mozilla.org/show_bug.cgi?id=732872
Comment 10•4 years ago
|
||
Thanks. I'm keeping this open rather than marking it as a dup because this bug is more specifically related to the severe performance regression after Firefox 57; i.e. after Firefox switched to multiple processes. In contrast, the original bug 732872 is more generic and covers performance issues from before multi-process happened.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•