Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 22:56:30 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        Doug Barton <dougb@FreeBSD.org>, Justin Hibbits <chmeeedalf@gmail.com>, core@freebsd.org, delphij@freebsd.org, Steve Kargl <sgk@troutmask.apl.washington.edu>, current@freebsd.org
Subject:   Re: Official request: Please make GNU grep the default
Message-ID:  <4C68547E.2080907@FreeBSD.org>
In-Reply-To: <8639ufd78w.fsf@ds4.des.no>
References:  <4C6505A4.9060203@FreeBSD.org>	<20100813085235.GA16268@freebsd.org> <4C66C010.3040308@FreeBSD.org>	<4C673F02.8000805@FreeBSD.org>	<20100815013438.GA8958@troutmask.apl.washington.edu>	<4C67492C.5020206@FreeBSD.org>	<B7A05068-9578-4341-851B-86BD9BC7A2DA@gmail.com> <8639ufd78w.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 2010.08.15. 21:07, Dag-Erling Smørgrav escreveu:
> Ignore the first two lines (that's the profiling code itself).  Note
> that the top five lines are all in stdio, and nothing else even shows up
> on the radar.  I only included enough output to show where the regexp
> code ranks; the complete output is attached.
>
> I hate to suggest reinventing the wheel, but IMHO, this is clearly a
> case where it would pay to use hand-rolled buffered input routines
> instead of stdio.
>    
Thank you very much for the valuable tests, I've already started to 
refactor this part but it will take some time and still it doesn't 
garantize that the performance will be the same as GNU's with this 
change. It may need more investigation, so I'm also already testing my 
patch to change the default and we'll see how the performance 
improvement progresses.

Gabor



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