)]}'
{
  "commit": "0a025345fe7cc4cb5554a25c687f9b98bb15ae4a",
  "tree": "1c2d0f16c5d9d2fbc002b85290bd29ee916fccef",
  "parents": [
    "e798ea637137d5d21db713c7bbbb2fccb12d5bb6"
  ],
  "author": {
    "name": "Jianhui Dai",
    "email": "jianhui.j.dai@intel.com",
    "time": "Fri Mar 17 00:20:04 2023"
  },
  "committer": {
    "name": "WebRTC LUCI CQ",
    "email": "webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Tue Mar 21 23:07:40 2023"
  },
  "message": "RtcEventLog: Separate `LogToMemory` from TaskQueue to current thread\n\nOriginal implementation uses TaskQueue to async execute both `LogToMemory` and `WriteToOutput`. `LogToMemory` is invoked in high frequency, but the execution takes a very short time. It would be a bit more expensive to post on TaskQueue than execution on current thread with locking. It is because that the TaskQueue switches the thread context for execution.\n\nThis CL separates `LogToMemory` from TaskQueue to current thread, in\norder to avoid frequent context switching; And periodically schedule\n`WriteToOutput` to TaskQueue, not block current thread.\n\nLink: https://webrtc-review.googlesource.com/c/src/+/283641\nBug: chromium:1288710\nChange-Id: Ic78216aff16d1883b109e360a0892da3ca8f5ecb\nReviewed-on: https://webrtc-review.googlesource.com/c/src/+/295640\nReviewed-by: Björn Terelius \u003cterelius@webrtc.org\u003e\nCommit-Queue: Markus Handell \u003chandellm@webrtc.org\u003e\nReviewed-by: Markus Handell \u003chandellm@webrtc.org\u003e\nReviewed-by: Markus Handell \u003chandellm@google.com\u003e\nCr-Commit-Position: refs/heads/main@{#39629}\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "31f1e553a015b2a37fcda43382cb9c08fd335367",
      "old_mode": 33188,
      "old_path": "logging/rtc_event_log/rtc_event_log_impl.cc",
      "new_id": "f2b3f22d6ab9dc53dcb8060f701ced3f84c717a7",
      "new_mode": 33188,
      "new_path": "logging/rtc_event_log/rtc_event_log_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "6ffed0ad221b55e0f1ee15ba7db9dcf4bd7bf729",
      "old_mode": 33188,
      "old_path": "logging/rtc_event_log/rtc_event_log_impl.h",
      "new_id": "3187a7fe87e4901c1947c254984fcd51ce27766a",
      "new_mode": 33188,
      "new_path": "logging/rtc_event_log/rtc_event_log_impl.h"
    }
  ]
}
