[SPAM] Re: Official request: Please make GNU grep the default

From: Niclas Zeising <niclas.zeising_at_gmail.com>
Date: Fri, 20 Aug 2010 11:36:29 +0200
On 2010-08-20 11:10, Dag-Erling Smørgrav wrote:
>
> If you have profiling libraries installed, you can build a profiling
> version of grep (or any program) like so:
>
> % cd /usr/src/usr.bin/grep
> % make clean
> % make DEBUG_FLAGS="-pg -g" -DNO_SHARED
>
> Do *not" make install, because the result will be dog slow and you don't
> want to use it in production.  Every time you run it, it will leave a
> file named grep.gmon in your current directory, so:
>

As a side note, this maybe should be posted in the handbook and/or on 
the wiki for reference, so people who want to profile slow applications 
know how to do it.

Regards!
//Niclas
Received on Fri Aug 20 2010 - 07:53:30 UTC

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