Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Fri, Sep 9, 2011 at 3:55 PM, Terrence Enger <tenger@iseries-guru.com> wrote:
On Fri, 2011-09-09 at 14:22 -0500, Norbert Thiebaud wrote:

Now granted, once we can reliably do incremental build, the question
of the effectiveness of ccache will be much more acute.
presumable incremental build only try to compile stuff that _need_ to
be compiled and therefore should be a ccache miss... so with perfect
incremental build the ccache hit should be 0%

Not quite, I think.  Consider a header file changed within
in #if-skipped region in a way which does not change the
number of skipped lines.  I expect this would trigger a
recompile and that ccache, other things being equal, would
find a hit on the cache.  Does this sound plausible.

Still, I would expect the hit rate to go really close to 0.

And as Lubos remarked earlier... you need to be in the 20% hit rate to
get your money-back...

Norbert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.