Page MenuHomePhabricator

wikidiff2 is extremely slow with tall/vertical input
Closed, DeclinedPublic

Description

more vertical markup input is, longer it takes for wkidiff2 to compare it.

e.g. ~160kb text file, when presented in vertical form of 30k lines, it took 40s to compare changes, whereas same text file when reformatted into 2k lines, was compared in 0.027s.


Version: unspecified
Severity: enhancement

Details

Reference
bz22559

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:01 PM
bzimport set Reference to bz22559.
bzimport added a subscriber: Unknown Object (MLST).

testcase

Hereby I attach an archive with files:

a1, a2 - expensive delta
b1, b2 - cheap delta

Attached:

Reality check for severity -> enhancement (also compare other bugs in wikidiff2).

Adding performance keyword, but removing Tim specifically since he's not working on this one right now.

Krinkle renamed this task from extremely poor performance with vertical files to wikidiff2 is extremely slow with tall/vertical input.Jun 6 2020, 12:11 AM
Krinkle edited projects, added Platform Engineering; removed Performance Issue.
Krinkle removed a subscriber: wikibugs-l-list.
Krinkle subscribed.

I vaguely recall this having been improved some years ago. Tagging CPT to confirm.

eprodromou subscribed.

Happy if Tim can give more input for historical purposes, but unless there's been some activity on this ticket in the last 10 years, doesn't seem like something CPT should concentrate on right now. Retag as necessary.