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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Schwab <schwab <at> suse.de>
Subject: bug#24715: closed (Re: [bug-diffutils] bug#24715: Massive
 performance regression makes diff unusable)
Date: Wed, 26 Oct 2016 06:14:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#24715: Massive performance regression makes diff unusable

which was filed against the diffutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 24715 <at> debbugs.gnu.org.

-- 
24715: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24715
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 6 (message/rfc822, inline)]
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."



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.