Date: Sat, 25 Mar 2023 22:05:13 +0000 From: Jamie Landeg-Jones <jamie@catflap.org> To: jamie@catflap.org, freebsd-current@FreeBSD.org Subject: Re: diff(1) goes into cpu-hogging endless loop Message-ID: <202303252205.32PM5DoW073709@donotpassgo.dyslexicfish.net> In-Reply-To: <202303252155.32PLtEPF072349@donotpassgo.dyslexicfish.net> References: <202303252155.32PLtEPF072349@donotpassgo.dyslexicfish.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Just to add, that whilst the "diff" succeeded with the files split into 10Mb chunks, the time taken to run was really high, up to 10 times longer than gnu diff: + /usr/bin/time diff 1.aa 2.aa 16.74 real 16.70 user 0.03 sys + /usr/bin/time diff 1.ab 2.ab 16.53 real 16.45 user 0.07 sys + /usr/bin/time diff 1.ac 2.ac 21.58 real 21.51 user 0.06 sys + /usr/bin/time diff 1.ad 2.ad 22.37 real 22.25 user 0.11 sys + /usr/bin/time diff 1.ae 2.ae 25.93 real 25.81 user 0.11 sys + /usr/bin/time diff 1.af 2.af 26.63 real 26.53 user 0.09 sys + /usr/bin/time diff 1.ag 2.ag 0.98 real 0.96 user 0.02 sys + /usr/bin/time gdiff 1.aa 2.aa 2.44 real 2.37 user 0.06 sys + /usr/bin/time gdiff 1.ab 2.ab 4.09 real 4.06 user 0.03 sys + /usr/bin/time gdiff 1.ac 2.ac 2.24 real 2.22 user 0.01 sys + /usr/bin/time gdiff 1.ad 2.ad 1.99 real 1.98 user 0.00 sys + /usr/bin/time gdiff 1.ae 2.ae 2.63 real 2.60 user 0.02 sys + /usr/bin/time gdiff 1.af 2.af 2.62 real 2.59 user 0.03 sys + /usr/bin/time gdiff 1.ag 2.ag 0.12 real 0.11 user 0.00 sys
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303252205.32PM5DoW073709>