[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: build system rules & algorithms
From: |
Paul Smith |
Subject: |
Re: build system rules & algorithms |
Date: |
Sat, 13 Jun 2009 09:15:32 -0400 |
On Fri, 2009-06-12 at 22:31 -0400, Eli Zaretskii wrote:
> > Date: Thu, 11 Jun 2009 22:27:48 -0400
> > From: Mike Shal <address@hidden>
> > Cc: address@hidden
> >
> > Is there a better way to benchmark it to figure out the bottlenecks?
>
> One way would be to compile and link Make with -pg, invoke Make as you
> always do in this project, and then run gprof on the resulting profile
> data. Feel free to share the results here.
You can also use valgrind (if you're running on Linux anyway). I've
used it for memory examination but I'm pretty sure there's a profiling
tool available for it as well.
The trick with both of these is that if you have a recursive make you'll
have to figure out a way to combine the results; I don't think either of
them have that ability natively, which is too bad. Maybe someone's
already done this. If you have a non-recursive build environment it's
significantly simpler of course.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.us
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Re: build system rules & algorithms, (continued)
- Re: build system rules & algorithms, Mike Shal, 2009/06/19
- Re: build system rules & algorithms, Paul Smith, 2009/06/18
- Re: build system rules & algorithms, Mike Shal, 2009/06/19
- Re: build system rules & algorithms, Paul Smith, 2009/06/19
- Re: build system rules & algorithms, Mike Shal, 2009/06/19
Re: build system rules & algorithms, Mike Shal, 2009/06/10
Re: build system rules & algorithms, grischka, 2009/06/11
Re: build system rules & algorithms, grischka, 2009/06/13
Re: build system rules & algorithms, Mike Shal, 2009/06/14