Nice patch! My informal tests show that md5 is about two times faster than md5sum on my g4 Dual-450.
Carsten
Only 4 pairs of tests with a 700 Megabyte file.
Times are underlined below, about 35s for md5 versus 1min 18s for md5sum.
[localhost:~] carsten% time md5 r-divx.avi ; time md5sum r-divx.avi
MD5 (r-divx.avi) = 107d00f125fae4f079aacaba989df708
17.660u 11.050s 0:36.34 79.0% 0+0k 2+0io 0pf+0w
----
107d00f125fae4f079aacaba989df708 r-divx.avi
71.740u 5.040s 1:22.43 93.1% 0+0k 0+0io 0pf+0w
----
[localhost:~] carsten% time md5 r-divx.avi ; time md5sum r-divx.avi
MD5 (r-divx.avi) = 107d00f125fae4f079aacaba989df708
17.920u 10.390s 0:34.99 80.9% 0+0k 0+0io 0pf+0w
----
107d00f125fae4f079aacaba989df708 r-divx.avi
71.720u 4.650s 1:18.75 96.9% 0+0k 0+0io 0pf+0w
----
[localhost:~] carsten% time md5 r-divx.avi ; time md5sum r-divx.avi
MD5 (r-divx.avi) = 107d00f125fae4f079aacaba989df708
17.400u 10.970s 0:34.95 81.1% 0+0k 0+0io 0pf+0w
----
107d00f125fae4f079aacaba989df708 r-divx.avi
71.840u 4.500s 1:18.34 97.4% 0+0k 0+0io 0pf+0w
----
[localhost:~] carsten% time md5 r-divx.avi ; time md5sum r-divx.avi
MD5 (r-divx.avi) = 107d00f125fae4f079aacaba989df708
17.530u 11.100s 0:37.20 76.9% 0+0k 0+0io 0pf+0w
----
107d00f125fae4f079aacaba989df708 r-divx.avi
72.270u 4.230s 1:19.64 96.0% 0+0k 0+0io 0pf+0w
----
[localhost:~] carsten%
On Sunday, February 16, 2003, at 01:07 pm, Ben Hines wrote:
Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1:/tmp/cvs-serv3975Modified Files: ChangeLog Services.pm Log Message: use /bin/md5 for md5 if present Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.255 retrieving revision 1.256 diff -u -r1.255 -r1.256 --- ChangeLog 16 Feb 2003 01:04:32 -0000 1.255 +++ ChangeLog 16 Feb 2003 18:07:01 -0000 1.256 @@ -1,3 +1,7 @@ +2003-02-16 Ben Hines <[EMAIL PROTECTED]> + + * Services.pm: Use /bin/md5 for md5sums if present (Patch #675893). + 2003-02-16 Max Horn <[EMAIL PROTECTED]>
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel