raulcd commented on PR #47567:
URL: https://github.com/apache/arrow/pull/47567#issuecomment-3300151177

   It took me a while but finally ccache is set up correctly:
   ```
   "=== CCACHE Stats before build ==="
   D:\a\arrow\arrow>ccache -sv 
   Summary:
     Cache directory:  C:\Users\runneradmin/ccache
     Primary config:   C:\Users\runneradmin/ccache/ccache.conf
     Secondary config: /usr/local/etc/ccache.conf
     Stats updated:    09/16/25 18:53:37
     Hits:               51 / 1012 (5.04 %)
       Direct:            0 / 1012 (0.00 %)
       Preprocessed:     51 / 1012 (5.04 %)
     Misses:            961
       Direct:         1012
       Preprocessed:    961
   Primary storage:
     Hits:               51 / 2023 (2.52 %)
     Misses:           1972
     Cache size (GB):  0.12 / 1.00 (12.34 %)
     Files:            1972
   ```
   and after:
   ```
   D:\a\arrow\arrow>echo "=== CCACHE Stats after build ===" 
   "=== CCACHE Stats after build ==="
   D:\a\arrow\arrow>ccache -sv 
   Summary:
     Cache directory:  C:\Users\runneradmin/ccache
     Primary config:   C:\Users\runneradmin/ccache/ccache.conf
     Secondary config: /usr/local/etc/ccache.conf
     Stats updated:    09/16/25 19:10:42
     Hits:             1019 / 1985 (51.34 %)
       Direct:          965 / 1985 (48.61 %)
       Preprocessed:     54 / 1020 (5.29 %)
     Misses:            966
       Direct:         1020
       Preprocessed:    966
   Primary storage:
     Hits:             1991 / 3968 (50.18 %)
     Misses:           1977
     Cache size (GB):  0.13 / 1.00 (12.90 %)
     Files:            1977
   ```
   The job time went down from ~30 minutes to ~11 minutes when cache is working.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to