> strace tells you what system calls were made and when.  To
> find out which functions use most time, compile with -pg and
> look at the gprof output once done.  That 14 seconds were
> probably spent computing dependencies.  You can convert your
> test.mk to a Makefile with a trivial sed script. See what
> bsdmake or gmake does with it time wise. {bsd,g}make have
> been been abused with huge Makefiles for far longer and are
> likely to be friendlier to them :-)

why not just use prof, which is exactly the tool for the job?

i don't see how comparing with *make would get one closer
to solving the mystery. 

- erik

Reply via email to