)]}'
{
  "commit": "24e86eac4790e784baf06b33438ebc6e368af34e",
  "tree": "b202073980d8eb1c4dd3f791adddc6fdfc7048dd",
  "parents": [
    "bb340ea8a4cadf31f9039fe1d2b21dd7f8121770"
  ],
  "author": {
    "name": "jamesr",
    "email": "jamesr@chromium.org",
    "time": "Mon Oct 24 14:16:12 2016 -0700"
  },
  "committer": {
    "name": "Commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Mon Oct 24 21:17:56 2016 +0000"
  },
  "message": "[gn] Add trace entries for loading and blocking on imports\n\nThis adds trace entries for loading imports and for blocking on an\nimport for longer than 20ms. These make gn\u0027s tracelog significantly\neasier to understand when imported files take a long time to process.\nFor example, in the Chrome build on Mac //build/toolchain/mac/BUILD.gn\nblocks for ~240ms running sdk_info.py because\n//build/config/mac/mac_sdk.gni runs that script and //ui/base/BUILD.gn\nblocks for ~350ms because it is waiting for the import lock on\nmac_sdk.gni to be released. Without these traces, it is not\nimmediately obvious why //build/toolchain/mac/BUILD.gn is running that\nscript and it is very unclear why //ui/base/BUILD.gn takes so long.\n\nReview-Url: https://codereview.chromium.org/2424233002\nCr-Original-Commit-Position: refs/heads/master@{#427151}\nCr-Mirrored-From: https://chromium.googlesource.com/chromium/src\nCr-Mirrored-Commit: 840ab52b0bbdbe46a093c76c4a57b505d7e29e17\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "01c88b5a68c85dd1bce16a19c78d09d9ba6be4e1",
      "old_mode": 33188,
      "old_path": "tools/gn/import_manager.cc",
      "new_id": "0213c3367a41c5b6208cc6f62a52b7eae7c07f39",
      "new_mode": 33188,
      "new_path": "tools/gn/import_manager.cc"
    },
    {
      "type": "modify",
      "old_id": "2a1b460d56b11e856cbc121186a541b4439c35e7",
      "old_mode": 33188,
      "old_path": "tools/gn/trace.cc",
      "new_id": "74a3e71c03e73d8bcda5560ff93ad9868a97b839",
      "new_mode": 33188,
      "new_path": "tools/gn/trace.cc"
    },
    {
      "type": "modify",
      "old_id": "de8ab09d490770bd78dfb1faa42db4dfd88a6cea",
      "old_mode": 33188,
      "old_path": "tools/gn/trace.h",
      "new_id": "d2116410bd59446582cc67f61eaf98f57fcbd6ef",
      "new_mode": 33188,
      "new_path": "tools/gn/trace.h"
    }
  ]
}
