)]}'
{
  "commit": "b63b2677bc7e3aecff671a23f387004d2abc8e71",
  "tree": "e0cbe989de2285d60f226017b7ff28a7db833d26",
  "parents": [
    "8bb2d31f39ec346c7cdc9a50b244aebdbdfdd159"
  ],
  "author": {
    "name": "Geoffrey Martin-Noble",
    "email": "gcmn@google.com",
    "time": "Fri May 05 08:28:26 2023 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri May 05 08:28:26 2023 -0700"
  },
  "message": "Use remote ccache in mac x86_64 build (#13418)\n\nFully cached rebuild appears to take 20m for the build step,\r\ncompared to 1h8m for the uncached build with remote cache writes\r\n(attempts 2 and 1 of\r\n[this workflow\r\nrun](https://github.com/openxla/iree/actions/runs/4886873002/jobs/8724117607)).\r\nThat\u0027s unfortunately quite a bit slower than when we had caching that\r\nrestored a full ccache directory previously (e.g.\r\n[this\r\nrun](https://github.com/openxla/iree/actions/runs/4658305324/jobs/8243824546)).\r\nThe latter was disabled in https://github.com/openxla/iree/pull/12905\r\nbecause the actions/cache restore was extremely unreliable, timing out\r\nmost of the time.\r\n\r\nThe latency difference appears to be due to the cache hit rate:\r\n\r\n```\r\nCacheable calls:   4850 / 4865 (99.69%)\r\n  Hits:            4734 / 4850 (97.61%)\r\n    Direct:        4387 / 4734 (92.67%)\r\n    Preprocessed:   347 / 4734 ( 7.33%)\r\n  Misses:           116 / 4850 ( 2.39%)\r\nUncacheable calls:   15 / 4865 ( 0.31%)\r\nLocal storage:\r\n  Cache size (GB): 2.94 / 4.00 (73.50%)\r\n```\r\n\r\nvs\r\n\r\n```\r\nCacheable calls:    4922 / 4937 (99.70%)\r\n  Hits:             4080 / 4922 (82.89%)\r\n    Direct:         3729 / 4080 (91.40%)\r\n    Preprocessed:    351 / 4080 ( 8.60%)\r\n  Misses:            842 / 4922 (17.11%)\r\nUncacheable calls:    15 / 4937 ( 0.30%)\r\nLocal storage:\r\n  Cache size (GiB):  0.0 /  5.0 ( 0.00%)\r\nRemote storage:\r\n  Hits:             4080 / 4922 (82.89%)\r\n  Misses:            842 / 4922 (17.11%)\r\n```\r\n\r\nWe\u0027ll need to debug why we\u0027re seeing the 17% cache miss rate (I could\r\nwildly speculate), but this is still a sizable improvement.\r\n\r\nPart of https://github.com/openxla/iree/issues/13028",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "78e5af53a8a8e99e664449babb89f4215725bf0d",
      "old_mode": 33188,
      "old_path": ".github/workflows/ci.yml",
      "new_id": "34a1e6996efb8f6262c7d02001cf84b37b63aeaa",
      "new_mode": 33188,
      "new_path": ".github/workflows/ci.yml"
    }
  ]
}
