This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation time
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Don Lindsay <lindsayd at cisco dot com>
- Cc: Matt Austern <austern at apple dot com>, Paul Koning <pkoning at equallogic dot com>, <dnovillo at redhat dot com>, <phil at jaj dot com>, <dberlin at dberlin dot org>, <mark at codesourcery dot com>, <ghazi at caip dot rutgers dot edu>, <gcc at gcc dot gnu dot org>, <bkoz at redhat dot com>
- Date: Wed, 30 Apr 2003 17:25:33 -0700
- Subject: Re: Compilation time
- References: <Pine.LNX.4.44.0304301547220.26841-100000@dlindsay-lnx.cisco.com>
Don Lindsay <lindsayd@cisco.com> writes:
>> (Also, generation of the .ii file is slow, as no one has bothered
>> to make it fast.)
>
> There is now a community who would like it to be fast. Specifically,
> the users of ccache:
>
> http://ccache.samba.org/
>
> Do you have a specific reason to think .ii-writing could be made faster?
Oh yes. I've profiled it and a majority of the total runtime is
wasted on stdio overhead. If c-ppoutput.c had a custom output buffer
without that overhead, it'd be fast. This has never made it to the
top of my queue, but if you want to implement it I'll be happy to
review it.
zw