There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-bff9ead8-0407-4ac4-9b15-e36d57810d75 XWIKI-22689 Open

Large diffs are slow and could end up in timeouts when comparing page versions

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-84818349-9719-43d9-a823-3aac499215bc James Wartell on 03/Feb/25 18:11
 
Could probably configure the application server to allow for a longer timeout, but also is it known why the computation is so slow? It seems like vmassol is recommending providing an error message, but what about looking at improving the performance of the diff to avoid timing out in the first place. Mediawiki does rendered diffs by default that seem both accurate and performant, so it seems like a solvable problem unless that comparison isn't apples to apples for a reason I am missing.

The non-rendered diff seems quick. Rendering in general seems quick. What's it doing that's taking so long?