[ccache] Cache misses are extremely expensive.

Guillaume Campagna guillaume.campagna at gmail.com
Thu Jul 21 14:46:11 UTC 2016


Yes, I did see the part about the -include. I didn’t specify it because Xcode does the right thing by default. There was also no preprocessor error in the stats. 

Attached a log but I don’t see anything wrong with it. Also updated to 3.2.7 but didn’t change something so far. I’ll keep looking too. 

Thanks!

Guillaume

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ccache_log.txt
URL: <http://lists.samba.org/pipermail/ccache/attachments/20160721/9d0dc61e/ccache_log.txt>
-------------- next part --------------


> On Jul 12, 2016, at 15:23, Joel Rosdahl <joel at rosdahl.net> wrote:
> 
> On 23 June 2016 at 21:14, Guillaume Campagna <guillaume.campagna at gmail.com> wrote:
> Just started using ccache based on this tutorial and so far I like it. However, caches miss being extremely slow. [..] Note that I do use a pch, if that changes something. [...]
> 
> Since you included pch_defines and time_macros in CCACHE_SLOPPINESS, I guess you've seen the instructions on https://ccache.samba.org/manual.html#_precompiled_headers already? If so, did you also follow the instructions about using -include or -fpch-preprocess?
> 
> To get more information on what's happening, you can set CCACHE_LOGFILE to a file path and then look in that file for clues.
> 
> -- Joel



More information about the ccache mailing list