This is the mail archive of the
mailing list for the GCC project.
Re: Faster compilation speed
- From: Devang Patel <dpatel at apple dot com>
- To: Noel Yap <yap_noel at yahoo dot com>
- Cc: Neil Booth <neil at daikokuya dot co dot uk>, Stan Shebs <shebs at apple dot com>, Mike Stump <mrs at apple dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 12 Aug 2002 12:03:59 -0700
- Subject: Re: Faster compilation speed
On Sunday, August 11, 2002, at 12:08 AM, Neil Booth wrote:
Do you think precompiled headers would help build
speed across several compiles since it would be
another source to eliminate repeated file opens?
I don't think repeated file opens are high on the list
of time eaters, particularly because of the optimization
I mentioned. Tokenization and parsing probably take
Yes precompiled headers will help. But as Neil Booth says, the gain is
in tokenization & parsing.
For example, using PFE one local project takes 30 minutes to build.
It used to take 120 minutes before PFE on same machine running same OS.