This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build time profiling?
- From: James E Wilson <wilson at specifixinc dot com>
- To: "troy d.straszheim" <troy at resophonic dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 07 Aug 2004 17:11:55 -0700
- Subject: Re: build time profiling?
- References: <F1FD30ED-E800-11D8-9163-000D932CFA46@resophonic.com>
troy d.straszheim wrote:
I'm new to the list. I'm working on a project now that is a real rat's
nest of templates and unnecessary (or mostly unnecessary) #includes. As
we start to try to disentangle things, it would be nice to see where to
put the effort... e.g. which header files take the longest to compile,
We have support for precompiling header files. You could try
precompiling them, and then measuring the time needed for the
precompile, and the size of the output precompiled file. That might
give some useful info about the complexity of various header files. Or
maybe not.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com