On [[Georgia_(U.S._state)]] this takes about 500ms, mostly checking each link to see if it is in a valid section.
We should probably pre-compute the section ranges to optimise for this slow case.
See also T418532 for relevant performance benchmarks
On [[Georgia_(U.S._state)]] this takes about 500ms, mostly checking each link to see if it is in a valid section.
We should probably pre-compute the section ranges to optimise for this slow case.
See also T418532 for relevant performance benchmarks
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | dchan | T417199 Improve performance of getModifiedLinkRanges on long articles | |||
| Open | dchan | T418532 Speed up ve.dm.BranchNode#getAnnotationRanges with better caching |
Change #1238791 had a related patch set uploaded (by Esanders; author: Esanders):
[mediawiki/extensions/VisualEditor@master] getModifiedAnnotationRanges: Improve performance
Change #1238791 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] getModifiedAnnotationRanges: Improve performance
Change #1238825 had a related patch set uploaded (by DLynch; author: DLynch):
[mediawiki/extensions/VisualEditor@master] EditCheckFactory: run all checks inside a requestIdleCallback
Change #1240003 had a related patch set uploaded (by Divec; author: Divec):
[VisualEditor/VisualEditor@master] WIP: Per-node cache that gets invalidated by relevant transactions only
Change #1240003 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Per-node cache that gets invalidated by relevant transactions only
Change #1249278 had a related patch set uploaded (by Esanders; author: Esanders):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c8db73677)
Change #1249278 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (c8db73677)
@dchan: can you please share what (if anything) is left to be done here? Further, can you please help me understand the impact of us not optimizing the performance of getModifiedLinkRanges?
Oh, this (merged) patch should also have been tagged:
https://gerrit.wikimedia.org/r/c/VisualEditor/VisualEditor/+/1244785/