Commits


Antoine Pitrou authored and GitHub committed aedb87ad43c
MINOR: [CI] Display detailed ccache counters (#35642) This will display more detailed counters and reasons for uncacheable files. Example before: ``` # ccache -s Cacheable calls: 284 / 894 (31.77%) Hits: 5 / 284 ( 1.76%) Direct: 5 / 5 (100.0%) Preprocessed: 0 / 5 ( 0.00%) Misses: 279 / 284 (98.24%) Uncacheable calls: 610 / 894 (68.23%) Local storage: Cache size (GB): 1.0 / 1.0 (100.3%) Cleanups: 6 Hits: 5 / 284 ( 1.76%) Misses: 279 / 284 (98.24%) ``` Same example after: ``` # ccache -sv Cache directory: /ccache Config file: /ccache/ccache.conf System config file: /opt/conda/envs/arrow/etc/ccache.conf Stats updated: Wed May 17 17:06:44 2023 Cacheable calls: 284 / 894 (31.77%) Hits: 5 / 284 ( 1.76%) Direct: 5 / 5 (100.0%) Preprocessed: 0 / 5 ( 0.00%) Misses: 279 / 284 (98.24%) Uncacheable calls: 610 / 894 (68.23%) Could not use precompiled header: 610 / 610 (100.0%) Successful lookups: Direct: 5 / 284 ( 1.76%) Preprocessed: 0 / 279 ( 0.00%) Local storage: Cache size (GB): 1.0 / 1.0 (100.3%) Files: 3998 Cleanups: 6 Hits: 5 / 284 ( 1.76%) Misses: 279 / 284 (98.24%) Reads: 568 Writes: 558 ``` Authored-by: Antoine Pitrou <antoine@python.org> Signed-off-by: Sutou Kouhei <kou@clear-code.com>