)]}'
{
  "commit": "6433994ee794fa4cd0d7dd862f83cedbfb72c23b",
  "tree": "8f3e5d44c3b982d9902420e24ac92828b0738521",
  "parents": [
    "b941b1124834d38daaa0e4355655b4ce63b80d3e"
  ],
  "author": {
    "name": "Yuxuan \u0027fishy\u0027 Wang",
    "email": "yuxuan.wang@reddit.com",
    "time": "Tue Mar 15 15:22:15 2022 -0700"
  },
  "committer": {
    "name": "Yuxuan \u0027fishy\u0027 Wang",
    "email": "fishywang@gmail.com",
    "time": "Tue Mar 15 21:39:38 2022 -0700"
  },
  "message": "THRIFT-5539: Decouple TDuplicateToProtocol out of TDebugProtocol\n\nClient: go\n\nCurrently go\u0027s TDebugProtocol does two things: log the read/writes, and\nduplicate all the reads/writes to another TProtocol. For people who only\nneed the second feature, even if they use NopLogger for the logging\npart, they still need to pay the price of all the fmt.Sprintf calls used\nby logging, and on some cases those fmt.Sprintf calls alone can cause\nsignificant CPU to be wasted (in one of our services fmt.Sprintf called\nby TDebugProtocol used ~10% of CPU).\n\nCreate a dedicated TDuplicateToProtocol to reduce cpu waste, and mark\nTDebugProtocol.DuplicateTo as deprecated.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "805c0d94a8d15ce9a60b456bc077d0c96d55e8ac",
      "old_mode": 33188,
      "old_path": "CHANGES.md",
      "new_id": "8481d1173e4d3b2c6783ba9d667215959a71db8c",
      "new_mode": 33188,
      "new_path": "CHANGES.md"
    },
    {
      "type": "modify",
      "old_id": "fdf9bfec15e0bf7c9034f992cd7cb9cf69b403c5",
      "old_mode": 33188,
      "old_path": "lib/go/thrift/debug_protocol.go",
      "new_id": "c1f4fab4c5204432619d8c1c25c8fd9e2b5566b4",
      "new_mode": 33188,
      "new_path": "lib/go/thrift/debug_protocol.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c23d548c3bb9d214dbcc9c3ba526c7d79d8c996f",
      "new_mode": 33188,
      "new_path": "lib/go/thrift/duplicate_protocol.go"
    }
  ]
}
