)]}'
{
  "commit": "bba588fb237f96b048fec2f12aa080e23b41bf8d",
  "tree": "1edc260d179c14c7634d92a93000dae06941723c",
  "parents": [
    "9309556683cd0376281f20f68db031ee5c818897"
  ],
  "author": {
    "name": "S Ashwin Balaji",
    "email": "sashwinbalaji@google.com",
    "time": "Fri Nov 13 19:16:34 2026 +0000"
  },
  "committer": {
    "name": "S Ashwin Balaji",
    "email": "sashwinbalaji@google.com",
    "time": "Mon Nov 16 10:35:01 2026 +0000"
  },
  "message": "perfetto: prepare common C track-event inputs once\n\nWith several active sessions, hl.cc repeats the same clock read and\noption parsing for each session. Do that work once per event. Calculate\nname lengths and named-track UUIDs after the first session accepts the\nevent, so rejected categories avoid that work.\n\nEach session keeps its own timestamp conversion, filtering, track\nmetadata and interned IDs. Add benchmarks for eight concurrent sessions.\n\nMeasured against main c21e6b98c7 in linux_clang_release. These are\nmedian wall times from three repetitions of the final implementation,\nin ns/event call. Each call writes to all eight sessions.\n\n                  v1 before -\u003e after      v2 before -\u003e after\nInstant           1499 -\u003e 1274 (-15.0%)   1472 -\u003e 1342 (-8.8%)\nLong named track  8275 -\u003e 2316 (-72.0%)   8107 -\u003e 2317 (-71.4%)\nMixed fields      8431 -\u003e 7840 (-7.0%)    6874 -\u003e 6333 (-7.9%)\n\nRejected dynamic categories stay near 450 ns/call on both writers.\nThe timings exclude session setup, draining and result checks.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "710c6511f67be50ab05c70c7bf58d3b48f91d3d3",
      "old_mode": 33188,
      "old_path": "src/shared_lib/test/BUILD.gn",
      "new_id": "341ba33173200d7e9304b1721f4ac312654769f8",
      "new_mode": 33188,
      "new_path": "src/shared_lib/test/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2f175ad06e869bcaeed503eec159746a0c7edca3",
      "new_mode": 33188,
      "new_path": "src/shared_lib/test/eight_session_benchmark.cc"
    },
    {
      "type": "modify",
      "old_id": "05d99c7859674ba0efccc7a47cb3f732e246b864",
      "old_mode": 33188,
      "old_path": "src/shared_lib/track_event/hl.cc",
      "new_id": "bd86464588a09f886b9d1c816bea5e00338185e3",
      "new_mode": 33188,
      "new_path": "src/shared_lib/track_event/hl.cc"
    }
  ]
}
