[v3] --enable-pch

Geoff Keating geoffk@geoffk.org
Thu Jul 10 19:53:00 GMT 2003


Mike Stump <mrs@apple.com> writes:

> On Monday, July 7, 2003, at 05:32 AM, Richard Earnshaw wrote:
> > Yay!  That cuts testing time ('time make -k check') on my poor
> > memory-starved shark (32M) by more than 20%!
> >
> >            user     system   elapsed
> > 2003/06/28 28971.91 16151.89 82516.12		(PCH enabled)
> > 2003/07/02 40920.70 15537.30 64758.78		(PCH disabled)
> 
> Hum, maybe pch validation should check how much memory is around, and
> avoid pch if < 40 MB.  It is nice that is takes less user time, but,
> not at the expense of wall clock.  :-(

That won't work, in fact if you try it you should discover that it's
even worse than the PCH-enabled case.

-- 
- Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list