)]}'
{
  "commit": "3968ba76ca4aadd1bc6089a0c0695faf12f4262e",
  "tree": "2336e7302db2d9c7f4a4bfffaf6ed02de4d1cc55",
  "parents": [
    "9adad59686716319ac6a229d174d9149e21f8e8e"
  ],
  "author": {
    "name": "Philipp Wollermann",
    "email": "philwo@google.com",
    "time": "Tue Sep 08 23:58:09 2026 +0200"
  },
  "committer": {
    "name": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "gn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Sep 16 05:12:36 2026 -0700"
  },
  "message": "Header check: defer unrestricted dependency walks\n\nPrecompute only the dependency reachability needed to permit includes.\nLeave the unrestricted walk, which also follows private dependencies\ntransitively, to the existing lazy lookup when no permitted path is\nfound. This avoids building large diagnostic tables for every checked\ntarget.\n\nUse a shared lock for reachability cache hits, taking the exclusive\nlock only on a miss.\n\nChromium `gn gen --check`, medians of five round-robin rounds:\n  Mac (M4 Max):     3.13 s -\u003e 2.70 s\n  GCE c4d-384:      5.15 s -\u003e 4.22 s\n  Intel 13900KS:    3.30 s -\u003e 2.55 s\n\nCPU time (c4d-standard-384):\n  User:  38.5 s -\u003e 31.6 s (-18%)\n  Sys:   50.2 s -\u003e 33.9 s (-32%)\n\nHeap stats:\n  Allocs (count):  54.24 M -\u003e 53.78 M (-1%)\n  Heap (total):    24.92 GB -\u003e 19.78 GB (-21%)\n  Heap (peak):      5.46 GB -\u003e  3.22 GB (-41%)\n\nChange-Id: Idbd45609b60d465f78b240db93a33695af34c131\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/26342\nReviewed-by: Takuto Ikuta \u003ctikuta@google.com\u003e\nCommit-Queue: Philipp Wollermann \u003cphilwo@google.com\u003e\nReviewed-by: Matt Stark \u003cmsta@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "84b4433b7fc03dcdd5b4b96245975a1a2d6cb03c",
      "old_mode": 33188,
      "old_path": "src/gn/header_checker.cc",
      "new_id": "c54a87565eb7f05a08f242e184a87700bff36421",
      "new_mode": 33188,
      "new_path": "src/gn/header_checker.cc"
    }
  ]
}
