This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compilation time


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]