)]}'
{
  "commit": "4a17a836d84c3946e04ffb94fc21441979367d63",
  "tree": "c11df6ece185efa051c3dedd5f4e7b7fe0f62ce9",
  "parents": [
    "387b368dfe63fec317f8e609d90c634807f2764e"
  ],
  "author": {
    "name": "David \u0027Digit\u0027 Turner",
    "email": "digit@google.com",
    "time": "Mon Dec 20 15:53:30 2021 +0100"
  },
  "committer": {
    "name": "Commit Bot",
    "email": "commit-bot@chromium.org",
    "time": "Thu Jan 06 17:28:34 2022 +0000"
  },
  "message": "Simplify InheritedLibraries\n\nThis CL simplifies the implementation of InheritedLibraries\nto use a UniqueVector\u003cconst Target*\u003e as well as a parallel\nvector of booleans (for the public flags). This doesn\u0027t\nchange the semantics of this type.\n\nCombined with the previous CL, measurements show that this\nsaves about 10% of \u0027gn gen\u0027 time, and 8% of peak RAM usage\nfor both Fuchsia and Chromium.\n\nBug: None\n\n--------------------------------------------------------\nFor Fuchsia\n\ngn-main\n\nDone. Made 184670 targets from 5446 files in 12960ms\nDone. Made 184670 targets from 5446 files in 13277ms\nDone. Made 184670 targets from 5446 files in 13713ms *\nDone. Made 184670 targets from 5446 files in 13882ms\nDone. Made 184670 targets from 5446 files in 14259ms\n\n3271324\n3275512\n3280504 *\n3282032\n3293832\n\ngn-inherited-libraries\n\nDone. Made 184670 targets from 5446 files in 12248ms\nDone. Made 184670 targets from 5446 files in 12267ms\nDone. Made 184670 targets from 5446 files in 12326ms *\nDone. Made 184670 targets from 5446 files in 12697ms\nDone. Made 184670 targets from 5446 files in 12770ms\n\n  DIFF \u003d 13713 - 12326 \u003d 1387ms (-10%)\n\n3026696\n3027940\n3032296 *\n3035976\n3037732\n\n   DIFF \u003d 3280504 - 3032296 \u003d 248208 \u003d 242 MiB  (-7.5%)\n\nFor Chromium\n\ngn-main\n\nDone. Made 17155 targets from 3025 files in 3289ms\nDone. Made 17155 targets from 3025 files in 3314ms\nDone. Made 17155 targets from 3025 files in 3328ms *\nDone. Made 17155 targets from 3025 files in 3362ms\nDone. Made 17155 targets from 3025 files in 3488ms\n\n666764\n670480\n674792 *\n676516\n692592\n\ngn-inherited-libraries\n\nDone. Made 17155 targets from 3025 files in 2987ms\nDone. Made 17155 targets from 3025 files in 3008ms\nDone. Made 17155 targets from 3025 files in 3001ms *\nDone. Made 17155 targets from 3025 files in 3021ms\nDone. Made 17155 targets from 3025 files in 3106ms\n\n    DIFF \u003d 3328 - 3001 \u003d 327ms  (-9.8%)\n\n613600\n616748\n618460 *\n621900\n626768\n    DIFF \u003d 674792 - 618460 \u003d 56332 \u003d 55 MiB (-8.3%)\n\nChange-Id: I245367f121cb2b2d542db171146b494209793028\nReviewed-on: https://gn-review.googlesource.com/c/gn/+/12700\nReviewed-by: Brett Wilson \u003cbrettw@chromium.org\u003e\nCommit-Queue: David Turner \u003cdigit@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "37e0b97a08c3ff1616c3b3f49bf264dcd39b0911",
      "old_mode": 33188,
      "old_path": "src/gn/inherited_libraries.cc",
      "new_id": "977e97d275a1997fab9b5199cc80e5ccba9bfcf2",
      "new_mode": 33188,
      "new_path": "src/gn/inherited_libraries.cc"
    },
    {
      "type": "modify",
      "old_id": "758e3c9222ee3cfbd51fdfb87be8592b67412d90",
      "old_mode": 33188,
      "old_path": "src/gn/inherited_libraries.h",
      "new_id": "7a3fc25905efdb3d91c8dde8242d46b0042fe3ca",
      "new_mode": 33188,
      "new_path": "src/gn/inherited_libraries.h"
    }
  ]
}
