Re: diff(1) goes into cpu-hogging endless loop
- In reply to: Jamie Landeg-Jones : "diff(1) goes into cpu-hogging endless loop"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 25 Mar 2023 22:05:13 UTC
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