"Firefox Translations" is slowing down Nightly on Bugzilla advanced search page
Categories
(Firefox :: Translations, defect)
Tracking
()
People
(Reporter: marco, Unassigned)
References
()
Details
(Keywords: perf)
I get the slow warning consistently on the edit page of complex Bugzilla searches.
Comment 1•3 years ago
|
||
Do you have a profile of the slow down? (I couldn't reproduce)
Reporter | ||
Comment 2•3 years ago
|
||
Comment 3•3 years ago
|
||
Thanks! Here's the relevant part of the profile: https://share.firefox.dev/3lqoVOl
Most of the time is spent in getTranslationNodes
calling itself recursively, and calling includes()
. My guess is the time is spent at https://searchfox.org/mozilla-central/rev/477950cf9ca9c9bb5ff6f34e0d0f6ca4718ea798/browser/extensions/translations/extension/dom-translation-content-script.js#1835 and seenTranslationNodes
should be a set rather than an array.
Updated•3 years ago
|
Comment 4•3 years ago
|
||
Thanks for pointing that out. We are going to deprecate this version soon and replace by a new one more polished
Reporter | ||
Comment 5•3 years ago
|
||
André what is the timing there? I'm trying to gauge whether I should disable the extension for now and re-enable after a new version is released.
Comment 6•3 years ago
|
||
We might have a replacement version by mid-january.
Comment 7•3 years ago
|
||
The severity field is not set for this bug.
:florian, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 8•3 years ago
•
|
||
Hi Marco,
we have a candidate version here [1] that I just tested in the page referenced [2] and it worked well for me without hangs. Could you test it when you have a chance, please?
To test it:
- first disable the in-tree extension :
extensions.translations.disabled
tofalse
- enable experiments:
extensions.experiments.enabled
totrue
- then install the addon [1] via
about:debugging
If this works for you, I can replace the current version by the refactored one.
[1] https://github.com/mozilla/firefox-translations/actions/runs/1460900159
Updated•3 years ago
|
Reporter | ||
Comment 10•2 years ago
|
||
The addon was retired.
Description
•