Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 1996 17:15:04 +0100
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        hackers@freebsd.org
Subject:   wc(1)
Message-ID:  <199601091615.RAA00359@localhost>

next in thread | raw e-mail | index | archive | help

FreeBSD-2.x wc(1) is slow and ugly. NetBSD-current has the same code
as FreeBSD-1.1.5, faster and cleaner written.

Wolfram

time FreeBSD-2.1/wc /usr/share/dict/words
  234936  234936 2486813 /usr/share/dict/words
        6.96 real         6.48 user         0.40 sys
time FreeBSD-1.1.5/wc /usr/share/dict/words
  234936  234936 2486813 /usr/share/dict/words
        5.72 real         5.19 user         0.45 sys
time FreeBSD-2.1/wc  -l < /usr/share/dict/words
  234936
        6.99 real         6.38 user         0.46 sys
time FreeBSD-1.1.5/wc  -l < /usr/share/dict/words
  234936 
        2.97 real         2.50 user         0.42 sys



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601091615.RAA00359>