)]}'
{
  "commit": "a79e3519d66671a408041dac8c56d99078de41f2",
  "tree": "554e537bad8bc449ba4a5bacbc030b39f7c65c63",
  "parents": [
    "3d5091d232ea991a6a991c86e9fb000f5a9009a0"
  ],
  "author": {
    "name": "René Scharfe",
    "email": "l.s.r@web.de",
    "time": "Fri Jul 18 11:39:11 2025 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Tue Jul 22 07:28:40 2025 -0700"
  },
  "message": "commit: use prio_queue_replace() in pop_most_recent_commit()\n\nOptimize pop_most_recent_commit() by adding the first parent using the\nmore efficient prio_queue_peek() and prio_queue_replace() instead of\nprio_queue_get() and prio_queue_put().\n\nOn my machine this neutralizes the performance hit it took in Git\u0027s own\nrepository when we converted it to prio_queue two patches ago (git_pq):\n\n   $ hyperfine -w3 -L git ./git_2.50.1,./git_pq,./git \u0027{git} rev-parse :/^Initial.revision\u0027\n   Benchmark 1: ./git_2.50.1 rev-parse :/^Initial.revision\n     Time (mean ± σ):      1.073 s ±  0.003 s    [User: 1.053 s, System: 0.019 s]\n     Range (min … max):    1.069 s …  1.078 s    10 runs\n\n   Benchmark 2: ./git_pq rev-parse :/^Initial.revision\n     Time (mean ± σ):      1.077 s ±  0.002 s    [User: 1.057 s, System: 0.018 s]\n     Range (min … max):    1.072 s …  1.079 s    10 runs\n\n   Benchmark 3: ./git rev-parse :/^Initial.revision\n     Time (mean ± σ):      1.069 s ±  0.003 s    [User: 1.049 s, System: 0.018 s]\n     Range (min … max):    1.065 s …  1.074 s    10 runs\n\n   Summary\n     ./git rev-parse :/^Initial.revision ran\n       1.00 ± 0.00 times faster than ./git_2.50.1 rev-parse :/^Initial.revision\n       1.01 ± 0.00 times faster than ./git_pq rev-parse :/^Initial.revision\n\nSigned-off-by: René Scharfe \u003cl.s.r@web.de\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0200759aaa0bc155c198a55ee16a08975867051a",
      "old_mode": 33188,
      "old_path": "commit.c",
      "new_id": "5a40ed99cb951879e23a095827f33074306db0f5",
      "new_mode": 33188,
      "new_path": "commit.c"
    }
  ]
}
