*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 21 Jun 2005 12:46:40 +0000 (12:46 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 21 Jun 2005 12:46:40 +0000 (12:46 +0000)
TODO

diff --git a/TODO b/TODO
index 4163e60..1840dc1 100644 (file)
--- a/TODO
+++ b/TODO
@@ -160,16 +160,36 @@ Changes expected to go in, post-5.2.1:
 
   pb (progress bar) from Miika Pekkarinen
 
+  ------------------------------
   Look into improving the performance of md5sum.
   `openssl md5' is consistently about 30% faster than md5sum on an idle
   AMD 2000-XP system with plenty of RAM and a 261 MB input file.
   openssl's md5 implementation is in assembly, generated by a perl script.
 
+  On an AMD-64 system, using a 700MB file on a tmpfs file system
+  (and enough RAM so that no actual disk reads were performed),
+  GNU md5sum is slightly faster than `openssl md5', e.g.:
+
+    2.38s user 0.38s system 100% cpu 2.756 total  (gnu md5sum)
+    vs.
+    2.52s user 0.34s system 100% cpu 2.869 total
+
+  However, `openssl sha1' is about 5% faster than GNU sha1sum:
+
+    3.32s user 0.33s system 99% cpu 3.653 total   (openssl sha1)
+    3.45s user 0.39s system 99% cpu 3.843 total   (gnu sha1sum)
+
+  The above are using the debian-sid (amd_64 alioth) binaries from
+  coreutils-5.2.1.  When I compile the latest (coreutils-cvs) with
+  gcc-4.0 -O3, I get slightly (2-3%) better sha1sum performance,
+  and a ~7% *decrease* in performance for md5sum.  I suspect that
+  with the right compiler options you can do much better.
+  ------------------------------
+
 Have euidaccess.m4 check for eaccess as well as euidaccess
 If found, then do `#define euidaccess eaccess'.
 
-Remove long-deprecated options like -V for version-control and
-  tail's --allow-missing
+Remove long-deprecated options like tail's --allow-missing
 
 Add a distcheck-time test to ensure that every distributed
 file is either read-only(indicating generated) or is