--- Begin Message ---
Subject: |
Massive performance regression makes diff unusable |
Date: |
Mon, 17 Oct 2016 15:03:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
$ 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, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug-diffutils] bug#24715: Massive performance regression makes diff unusable |
Date: |
Tue, 25 Oct 2016 23:13:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
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
Description: Text Data
0002-diff-fix-big-performance-degradation-in-3.4.patch
Description: Text Data
--- End Message ---