Re: BSD grep performance

From: Steven Hartland <killing_at_multiplay.co.uk>
Date: Thu, 19 Aug 2010 09:42:44 +0100
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_at_multiplay.co.uk.
Received on Thu Aug 19 2010 - 06:53:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC