Benchmark the patch created for T146781. Find a reasonable maximum amount of changed paragraphs and/or diff size for displaying changes in moved blocks. Make Wikidiff2 fall back to default behaviour above that threshold so that diffs don't spend excessive amount of CPU time.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • DannyH | T121469 Improve diff compare screen | |||
Resolved | thiemowmde | T139603 Show text changes when moving text chunks (#2) | |||
Resolved | None | T146781 Show changes in moved text chunks (C++) | |||
Resolved | • jkroll | T160075 Benchmark "Show changes in moved text chunks" patch, find size threshold | |||
Resolved | Tobi_WMDE_SW | T166571 Introduce a configuration variable for the bailout threshold for moved-paragraph-detection in wikidiff2 |
Event Timeline
Comment Actions
We benchmarked this and set the default to 25. The threshold is configurable in LocalSettings.