Page MenuHomePhabricator

Benchmark "Show changes in moved text chunks" patch, find size threshold
Closed, ResolvedPublic

Description

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.

Event Timeline

We benchmarked this and set the default to 25. The threshold is configurable in LocalSettings.