)]}'
{
  "commit": "977dfc2e3d90074956355aa2bde009ab4796145c",
  "tree": "8c9f97a00e079f09a0ac768d7c2b9de0296655c9",
  "parents": [
    "bb682b4d7f6cf8bf9b01d26ea5498b9cc5115c3b"
  ],
  "author": {
    "name": "Tejas Anil Nagmote",
    "email": "tejasnagmote520@gmail.com",
    "time": "Mon Aug 03 18:57:00 2026 +0530"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 03 14:27:00 2026 +0100"
  },
  "message": "Exclude setup/teardown from the MemoryManager measurement window (#2149) (#2276)\n\nRunMemoryManager() opened the MemoryManager window before allocating the\nThreadManager and running the per-benchmark Setup(), and closed it after\nTeardown(). Everything the library and the fixture allocate around the\nbenchmark was therefore attributed to the benchmark itself, so an exact\nallocation count was impossible to obtain.\n\nMove Start()/Stop() to bracket only RunInThread(), which is the same region\nthe timers cover. Setup()/Teardown() already run outside the timed region, so\nthis makes the memory window consistent with the time window.\n\nAdd memory_manager_ordering_gtest, which registers a MemoryManager that\nrecords whether the window is open and asserts the fixture callbacks never\nobserve it as open. It fails on the previous ordering (\"Teardown ran inside\nthe MemoryManager Start/Stop window\") and passes with this change.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f6d37e01726f732030786aa60d9685e04607ce05",
      "old_mode": 33188,
      "old_path": "src/benchmark_runner.cc",
      "new_id": "0d267a38d500b774eb9e9e0a39c6493958b42309",
      "new_mode": 33188,
      "new_path": "src/benchmark_runner.cc"
    },
    {
      "type": "modify",
      "old_id": "fe88841dd948c4acf395772b851c908bfebce880",
      "old_mode": 33188,
      "old_path": "test/CMakeLists.txt",
      "new_id": "4384c30ec98b1d33b1afb8ed6cb6b270fefdf09d",
      "new_mode": 33188,
      "new_path": "test/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "14f0de7d94f9bea527c9c0436a465b5b1c3747fd",
      "new_mode": 33188,
      "new_path": "test/memory_manager_ordering_gtest.cc"
    }
  ]
}
