GNU bug report logs - #24715
Massive performance regression makes diff unusable

Previous Next

Package: diffutils;

Reported by: Andreas Schwab <schwab <at> suse.de>

Date: Mon, 17 Oct 2016 13:04:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24715 in the body.
You can then email your comments to 24715 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#24715; Package diffutils. (Mon, 17 Oct 2016 13:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Schwab <schwab <at> suse.de>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Mon, 17 Oct 2016 13:04:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: bug-diffutils <at> gnu.org
Subject: Massive performance regression makes diff unusable
Date: Mon, 17 Oct 2016 15:03:05 +0200
$ wc tmp.*
  6712297  27215448 135217073 tmp.1
  6712247  27215244 135216202 tmp.2
 13424544  54430692 270433275 total

$ diff --version | head -1
diff (GNU diffutils) 3.3
$ time diff -u tmp.* > xx
17.023user 8.246system 0m25.335selapsed 99.74%CPU

$ diff --version | head -1
diff (GNU diffutils) 3.5
$ time diff -u tmp.* > yy
5020.640user 3.176system 83m50.461selapsed 99.86%CPU

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-diffutils <at> gnu.org:
bug#24715; Package diffutils. (Thu, 20 Oct 2016 22:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 24715 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Schwab <schwab <at> suse.de>, 24715 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#24715: Massive performance regression makes
 diff unusable
Date: Thu, 20 Oct 2016 15:25:23 -0700
Thanks, can you make the data files available so we can reproduce the 
problem?




Information forwarded to bug-diffutils <at> gnu.org:
bug#24715; Package diffutils. (Mon, 24 Oct 2016 08:51:01 GMT) Full text and rfc822 format available.

Message #11 received at 24715 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> suse.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 24715 <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#24715: Massive performance regression makes
 diff unusable
Date: Mon, 24 Oct 2016 10:50:45 +0200
https://bugzilla.opensuse.org/attachment.cgi?id=698854

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Wed, 26 Oct 2016 06:14:01 GMT) Full text and rfc822 format available.

Notification sent to Andreas Schwab <schwab <at> suse.de>:
bug acknowledged by developer. (Wed, 26 Oct 2016 06:14:02 GMT) Full text and rfc822 format available.

Message #16 received at 24715-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 24715-done <at> debbugs.gnu.org
Subject: Re: [bug-diffutils] bug#24715: Massive performance regression makes
 diff unusable
Date: Tue, 25 Oct 2016 23:13:21 -0700
[Message part 1 (text/plain, inline)]
Thanks for the test data. I installed a Gnulib patch, noted here:

http://lists.gnu.org/archive/html/bug-gnulib/2016-10/msg00157.html

along with the attached diffutils patches. This fixed the problem for me, so I 
am closing the bug report.
[0001-build-update-gnulib-submodule-to-latest.patch (text/x-diff, attachment)]
[0002-diff-fix-big-performance-degradation-in-3.4.patch (text/x-diff, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 23 Nov 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.