On Wed, Oct 8, 2025, at 18:38, Santiago Ruano Rincón via ccache wrote: > Would you mind enlighten us about: is it a good idea to also reset/zero > the stats between two different jobs?
See the discussion in https://github.com/ccache/ccache/pull/1639 which lead to this documentation improvement: https://github.com/ccache/ccache/commit/e799280a6fe403e9ef766c2343effaf4423da65a So yes, if you use ccache by downloading and uploading the whole cache for each build job à la GitHub's or GitLab's caching mechanism then counters are not tracking global usage of the cache anyway (and only one job accesses the local cache at the same time) so using --zero-stats before the job is perfectly fine. Regards Joel _______________________________________________ ccache mailing list [email protected] https://lists.samba.org/mailman/listinfo/ccache
