)]}'
{
  "commit": "5d437ef88c997c8dec9e475a6f3dca3f61b2888f",
  "tree": "1c0bdf2a1d6c42eec66426ce5e84eddb3f78f270",
  "parents": [
    "b1dff2231ccbd04e3a92e42fb3458231965ca5d1"
  ],
  "author": {
    "name": "Abseil Team",
    "email": "absl-team@google.com",
    "time": "Thu Oct 22 00:36:31 2026 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Fri Oct 23 05:59:53 2026 -0700"
  },
  "message": "Lazily initialize std::ostream in LogMessage::OstreamView.\n\nEvery `LogMessage` instance previously constructed and destroyed a `std::ostream` member (`LogMessageData::manipulated`) inside `LogMessageData`, invoking `std::basic_ios::init` and `std::ios_base::~ios_base` on every log statement even when the statement only formatted strings or literals via `CopyToEncodedBuffer` or was suppressed before formatting.\n\nChange `LogMessageData::manipulated` from `std::ostream` to `std::optional\u003cstd::ostream\u003e` and defer its initialization to `LogMessage::OstreamView`, constructing the stream with the legacy `showbase | boolalpha` formatting flags only when `OstreamView` is entered. This avoids `std::ios_base` initialization and teardown on string-only and suppressed log paths and prepares `LogMessageData` for reuse across log statements. Also add `BM_EnabledLogToSinkString` and `BM_EnabledLogToSinkInt` multi-threaded benchmarks to `log_benchmark.cc`.\n\nPiperOrigin-RevId: 1004554083\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e56ef25919fc6fe6b76ceee2f4b395b94cc99506",
      "old_mode": 33188,
      "old_path": "absl/log/internal/log_message.cc",
      "new_id": "f15d41af6f5823f312196cd68f57d7bcbb02d4ea",
      "new_mode": 33188,
      "new_path": "absl/log/internal/log_message.cc"
    },
    {
      "type": "modify",
      "old_id": "50a64ea16498b9790ad2b40e0a7b0df51b613fc0",
      "old_mode": 33188,
      "old_path": "absl/log/log_benchmark.cc",
      "new_id": "878001b1e52ec6ec44be14d3870d9b5db17f7869",
      "new_mode": 33188,
      "new_path": "absl/log/log_benchmark.cc"
    }
  ]
}
