GNU bug report logs - #21700
new snapshot available: grep-2.21.78-7da30

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sun, 18 Oct 2015 05:27:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Norihiro Tanaka <noritnk <at> kcn.ne.jp>
To: 21700 <at> debbugs.gnu.org
Subject: bug#21700: new snapshot available: grep-2.21.78-7da30
Date: Thu, 22 Oct 2015 08:41:59 +0900
On Wed, 21 Oct 2015 13:09:14 -0700
Gary Johnson <garyjohn <at> spocom.com> wrote:

> I also built the snapshot successfully on a Fedora 17 system that I
> use for real work.  I just ran a performance test, FWIW.  I searched
> recursively in our source hierarchy of 6044 regular files and 1102
> directories for a simple string.
> 
>     time grep -Rin mystring src > /dev/null
> 
> Here are the results, averaged over three trials each, not including
> any slow times clearly due to updating caches.
> 
>             2.12    2.21    2.21.78-7da30
>             -----   -----   -----
>     real    18.0s   1.08s   2.36s
>     user    17.8s   0.96s   2.24s
>     sys     0.12s   0.11s   0.10s
> 
> Version 2.12 was /bin/grep.  The other two versions I built myself.
> 
> Regards,
> Gary

If they are measured for first scan, could you retry second or later
scans, i.e. all input files is on memory?  I think physical read time
for disk should be eliminated.

Thanks,
Norihiro





This bug report was last modified 9 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.