Date: Thu, 19 Aug 2010 09:42:44 +0100 From: "Steven Hartland" <killing@multiplay.co.uk> To: "Doug Barton" <dougb@FreeBSD.org>, "Gabor Kovesdan" <gabor@FreeBSD.org> Cc: delphij@FreeBSD.org, current@FreeBSD.org Subject: Re: BSD grep performance Message-ID: <950D7AECAF38488A981B3045DEB1EEA3@multiplay.co.uk> References: <4C6CD229.1010401@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Out of interest I tried the first test here add ack into the mix we I've grown to like as a developer as it uses some nice sensible defaults for every day use avoiding svn etc. Its a pure perl app so wasn't expecting it to be particularly quick in the single file case, its much quicker in the multi file case, but it seems to do quite well. ./grep-time-trial.sh GNU grep 2.5.4 Elapsed time: 2 seconds GNU grep 2.5.1-FreeBSD (base on 8.1-RELEASE) Elapsed time: 2 seconds BSD grep ( from ports 2.5.1 ) Elapsed time: 48 seconds ack 1.92 ( perl 5.8.9 ) Elapsed time: 4 seconds Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?950D7AECAF38488A981B3045DEB1EEA3>