)]}'
{
  "commit": "0829db3e5eb76aecad2ab6e51591ef664b5839f0",
  "tree": "d91d6d2eac3c50748f14dfcbc7d4c6c6afa5b966",
  "parents": [
    "4ba778abb68c440e8c88d5addd791d385f8a1eb1"
  ],
  "author": {
    "name": "Michael Pratt",
    "email": "mpratt@google.com",
    "time": "Fri Oct 21 17:24:24 2022 -0400"
  },
  "committer": {
    "name": "Michael Pratt",
    "email": "mpratt@google.com",
    "time": "Tue Nov 01 21:11:24 2022 +0000"
  },
  "message": "sweet: rebuild cmd/compile and cmd/link for go-build benchmark\n\ngo-build is a subtly strange benchmark. For every other benchmark, sweet\nbuilds the benchmarked program in set up, using Config.BuildEnv.\ngo-build does not do that because the benchmarked programs (cmd/compile,\ncmd/link, and (to a lesser degree) cmd/go) are conveniently prebuilt in\nGOROOT.\n\nBut this breaks the intuition that BuildEnv can control build flags for\nthe benchmarked program, particularly for sweet run -pgo, where sweet\nitself expects a PGO flag in BuildEnv to impact the benchmarked program.\n\nAdjust go-build to follow these standards by copying GOROOT for each\nconfig and running `go install cmd/compile cmd/link` in the copied\nGOROOT, allowing BuildEnv to take effect.\n\nThis fixes the general case for PGO, though it could use more work as\nreally cmd/compile and cmd/link should receive _different_ PGO profiles.\n\nWe also run the dummy build with the ExecEnv (matching how the actual\nbenchmark will run) to avoid passing -pgo to those builds.\n\nFor golang/go#55022.\n\nChange-Id: I36e4486c79ee4200c2e10ccba913d559187bdad2\nReviewed-on: https://go-review.googlesource.com/c/benchmarks/+/444895\nReviewed-by: Michael Knyszek \u003cmknyszek@google.com\u003e\nRun-TryBot: Michael Pratt \u003cmpratt@google.com\u003e\nTryBot-Result: Gopher Robot \u003cgobot@golang.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a55113e0228d4765d9842dd4a166a640eb05b683",
      "old_mode": 33188,
      "old_path": "sweet/harnesses/go-build.go",
      "new_id": "3b3e278a6c9cf4d82e36001102adeaf3f2a99e9d",
      "new_mode": 33188,
      "new_path": "sweet/harnesses/go-build.go"
    }
  ]
}
