In the translation of large articles, such as en:Paris, typing has a very delayed response, and page appears hanged in between keypresses.
Description
Details
Related Objects
Event Timeline
Change 443051 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Use debounce to align section pairs instead of throttle
Change 443058 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Improve section alignment performance
Change 443051 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Use debounce to align section pairs instead of throttle
Change 443058 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Improve section alignment performance
Change 443943 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Improve section alignment performance
Checked in cx2 - there is the improvement in performance time for mw.cx.ui.TranslationView.static.alignSectionPair (two samples are below):
But there is still a noticeable delay in characters appearing when typing. Such delay is not present in production.
@Pginer-WMF May be there should a more general task for performance evaluation? I am marking this task as Resolved for now.
Steps that were performed for testing:
- Start 'New translation' for en:Paris article
- Click on any paragraph to translate.
- When a paragraph is translated, start typing in the paragraph - the typed characters will appear with a delay.
Change 443943 abandoned by Santhosh:
Improve section alignment performance
Reason:
Need a fresh look into the root causes