After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778467 - Same diff against the subversion repository is much slower compared to diff between regular files
Same diff against the subversion repository is much slower compared to diff b...
Status: RESOLVED OBSOLETE
Product: meld
Classification: Other
Component: filediff
3.16.x
Other FreeBSD
: Normal normal
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2017-02-10 19:50 UTC by Yuri
Modified: 2017-12-13 19:23 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yuri 2017-02-10 19:50:09 UTC
I am in the subversion directory.
File 'file.txt' has about 16,000 lines, and differs in about 150 lines with the repository.
Command 'meld file.txt' is very slow.

However, when I have the same base version of 'file.txt' in a file 'file.txt.base', this command is much faster: 'meld file.txt.base file.txt'.

This makes me think that it's not the meld comparison that is that slow. It is something in the way how it compares files to the versions in the repository that is slow.

This probably can be fixed.
Comment 1 Kai Willadsen 2017-02-10 19:54:49 UTC
This is probably due to the way we initialise single-file repository diffs. We do our normal VC initialisation, which may be slow for large repositories, even though it's not necessary for a single file comparison.

I'm not going to look at this, but if someone else wanted to pick it up, I'd be happy to provide guidance.
Comment 2 Vasily Galkin 2017-02-13 08:49:49 UTC
While not being a resolution for this problem, a small improvement (2x in my environment) can be achieved by simply upgrading to current master that uses python3.

Meld parses xml logs with ElementTree which uses faster c-based implementation on python3 by default.
Comment 3 GNOME Infrastructure Team 2017-12-13 19:23:20 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/meld/issues/127.