)]}'
{
  "commit": "798806469290051d3fb5c8875295d770b42ebf1c",
  "tree": "05e74a7922b1467c50beae65a3eb0c8e94bfca45",
  "parents": [
    "5b7c139a9cc66514e65aeb4323e0652453fc9c36"
  ],
  "author": {
    "name": "Lalit Maganti",
    "email": "lalitm@google.com",
    "time": "Mon Nov 09 01:17:32 2026 +0000"
  },
  "committer": {
    "name": "Lalit Maganti",
    "email": "lalitm@google.com",
    "time": "Mon Nov 09 01:24:59 2026 +0000"
  },
  "message": "tp: start a RowCursor run in one call\n\n**Why**\n\nIn a SQLite join the inner table\u0027s query runs once per outer row and\nusually finds one row or a few. Opening a cursor restarted every\noperator and then pulled through the pipeline, which cost more than\nreading the rows.\n\n**Changes**\n\n- `Source::Start()` restarts a run and returns its first batch. By\n  default it calls `Restart()` then `Next()`.\n- `IndexScan` and `SortedScan` override it to search and fill the first\n  batch directly. `Pipeline` passes it to its source when it only has\n  transforms and holds no rows.\n- `RowCursor::Open()` uses it.\n- The code which gives SQLite a cursor\u0027s cells moves from\n  `pipeline_module.cc` to `column_results.h`, so the dataframe module\n  can use it too. Strings are passed as zero-terminated.\n\n**Testing**\n\n`perfetto_unittests` and all diff tests pass. The next PR uses this and\nhas the benchmarks.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4ae4723b146811faae56325a2f0c039492f96edc",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "f0586d207957de21f664af51d31c7ff7920a335e",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "c14ab31df2641615c607100571b9976a8cf080d7",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/index_scan.cc",
      "new_id": "0648b3303722ddd365e096dfef68c67e45de9b23",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/index_scan.cc"
    },
    {
      "type": "modify",
      "old_id": "61ba32f111f076f4d33cb3f6a4631ffa09437914",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/index_scan.h",
      "new_id": "383c2d2d7a06e0f5cc5e8792ea61bbcb473b17c1",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/index_scan.h"
    },
    {
      "type": "modify",
      "old_id": "fc56ef963ee6a2affa9f0e28f5ef643a0bf69220",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/operator.h",
      "new_id": "e1f77f1702f991d888e26c4e3dc69da59ab03c18",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/operator.h"
    },
    {
      "type": "modify",
      "old_id": "b6b6a59974e8941ec1963a5a791536c9664043e7",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/pipeline.cc",
      "new_id": "97db9cd828fb8b5ac1a7c4b614699b4d7993c70a",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/pipeline.cc"
    },
    {
      "type": "modify",
      "old_id": "a988546a9cc9cd54120a3d59cdccbe190bc0d555",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/pipeline.h",
      "new_id": "828e2a0dfe175700fdb02263f7bbb4bb54023d70",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/pipeline.h"
    },
    {
      "type": "modify",
      "old_id": "dcf2836a44660321b398079691b41cf3fe5580ca",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/row_cursor.h",
      "new_id": "ff5135c2d66c9a88208fac0f67e4710e547cbdf7",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/row_cursor.h"
    },
    {
      "type": "modify",
      "old_id": "79ec40a0165982b23bcbe4db9a8ff51b07f1e17a",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/sorted_scan.cc",
      "new_id": "1fb4ec8a5bf962aa21f071e6a2f12409d4a9c694",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/sorted_scan.cc"
    },
    {
      "type": "modify",
      "old_id": "c80160e4f9ee9230a4718aa9b5e9eef4a3e9fa88",
      "old_mode": 33188,
      "old_path": "src/trace_processor/core/exec/sorted_scan.h",
      "new_id": "721e4e6e17a43b58a2a6a592aec1be9b99b99ff0",
      "new_mode": 33188,
      "new_path": "src/trace_processor/core/exec/sorted_scan.h"
    },
    {
      "type": "modify",
      "old_id": "920e09250cfee3edda14392d4e62f56118ff679e",
      "old_mode": 33188,
      "old_path": "src/trace_processor/perfetto_sql/engine/BUILD.gn",
      "new_id": "183bc29e885fa6a77b27b52b2156fc173ec6a549",
      "new_mode": 33188,
      "new_path": "src/trace_processor/perfetto_sql/engine/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e18d7c8cb8dbe665da543bd2dd18aa2a1eba17ab",
      "new_mode": 33188,
      "new_path": "src/trace_processor/perfetto_sql/engine/column_results.h"
    },
    {
      "type": "modify",
      "old_id": "b3434db0d582fd31d63723c44aa555a167c6e812",
      "old_mode": 33188,
      "old_path": "src/trace_processor/perfetto_sql/engine/pipeline_module.cc",
      "new_id": "20534fbcc0c78c39f01dcbcca412b21b405fd2f8",
      "new_mode": 33188,
      "new_path": "src/trace_processor/perfetto_sql/engine/pipeline_module.cc"
    },
    {
      "type": "modify",
      "old_id": "297e1716d4f8391e91175070b890cc5bcdc682ee",
      "old_mode": 33188,
      "old_path": "src/trace_processor/perfetto_sql/engine/pipeline_module.h",
      "new_id": "21f57708bfc1aa0768787956bfa6010b9679a152",
      "new_mode": 33188,
      "new_path": "src/trace_processor/perfetto_sql/engine/pipeline_module.h"
    }
  ]
}
