{
  "machine": {
    "model": "MacBook Pro (Mac16,5)",
    "chip": "Apple M4 Max",
    "memory": "128 GB",
    "display": "120 Hz ProMotion",
    "os": "macOS 26",
    "note": "A fast machine. The 60 Hz M1 MacBook Air reference machine has not been run yet.",
    "record_with": "sysctl -n hw.model machdep.cpu.brand_string; sw_vers"
  },
  "benchmarks": [
    {
      "id": "first-frame",
      "group": "startup",
      "label": "First frame on launch",
      "value": "239",
      "unit": "ms",
      "statistic": "median",
      "conditions": "Time from launch to the first drawn frame. Other builds were running on the machine.",
      "command": "just bench-startup",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "first-frame-cold",
      "group": "startup",
      "label": "First frame, first-ever launch",
      "value": "808",
      "unit": "ms",
      "statistic": "single run",
      "conditions": "The very first launch on a machine, before any caches exist. Other builds were running on the machine.",
      "command": "just bench-startup",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "sidebar-cache",
      "group": "startup",
      "label": "Sidebar restored from cache",
      "value": "333",
      "unit": "ms",
      "statistic": "median",
      "conditions": "Time until the sidebar shows tables restored from the local cache. Other builds were running on the machine.",
      "command": "just bench-startup",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "idle-frames",
      "group": "startup",
      "label": "Frames drawn while idle",
      "value": "0",
      "unit": "frames",
      "statistic": "count in 10 s",
      "conditions": "App open on a quiet table with nothing changing. A quiet app draws nothing. Other builds were running on the machine.",
      "command": "just bench-idle",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "memory-peak",
      "group": "startup",
      "label": "Memory, peak",
      "value": "99",
      "unit": "MB",
      "statistic": "peak",
      "conditions": "5 connections open and a 1,000,000-row Postgres table browsed. Other builds were running on the machine.",
      "command": "just bench-rss",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "grid-p99",
      "group": "grid",
      "label": "Scrolling a 1M-row grid",
      "value": "9.3",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "1,000,000 rows by 8 columns, scrolled continuously. Other builds were running on the machine.",
      "command": "just bench-grid",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "grid-mem",
      "group": "grid",
      "label": "Memory growth while scrolling",
      "value": "3.8",
      "unit": "MB",
      "statistic": "growth over the run",
      "conditions": "Same 1,000,000-row by 8-column scroll. Memory grew by this much. Other builds were running on the machine.",
      "command": "just bench-grid",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "spike-p99",
      "group": "grid",
      "label": "Scrolling a 1M-row grid, earlier spike",
      "value": "9.86",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "The earlier spike build of the same scroll. Owner-accepted 2026-10-28.",
      "command": "just bench-spike-grid",
      "source": "Task 2",
      "date": "2026-10-28",
      "indicative": false
    },
    {
      "id": "spike-mem",
      "group": "grid",
      "label": "Memory growth, earlier spike",
      "value": "1.3",
      "unit": "MB",
      "statistic": "growth over the run",
      "conditions": "Same spike run. Memory grew by this much.",
      "command": "just bench-spike-grid",
      "source": "Task 2",
      "date": "2026-10-28",
      "indicative": false
    },
    {
      "id": "live-heartbeat-frame",
      "group": "grid",
      "label": "Live table, heartbeat tier",
      "value": "13.0",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "shop.orders taking writes, refreshed by the one-to-two second heartbeat. Other builds were running on the machine.",
      "command": "just bench-live",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "live-heartbeat-render",
      "group": "grid",
      "label": "Live table, heartbeat tier, render",
      "value": "1.9",
      "unit": "ms",
      "statistic": "render, p99",
      "conditions": "Same run. Render is the app's own CPU time per frame. Other builds were running on the machine.",
      "command": "just bench-live",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "live-stream-pg",
      "group": "grid",
      "label": "Live table, stream tier, Postgres",
      "value": "9.3",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "Logical replication under the write-load generator. Quiet machine. Owner-accepted 2026-11-15.",
      "command": "just bench-live -- --tier stream",
      "source": "Task 134",
      "date": "2026-11-15",
      "indicative": false
    },
    {
      "id": "live-stream-mysql",
      "group": "grid",
      "label": "Live table, stream tier, MySQL",
      "value": "9.3",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "Binlog stream under the write-load generator. Quiet machine. Owner-accepted 2026-11-15.",
      "command": "just bench-live -- --tier stream",
      "source": "Task 134",
      "date": "2026-11-15",
      "indicative": false
    },
    {
      "id": "live-stream-mem",
      "group": "grid",
      "label": "Live table, stream tier, memory growth",
      "value": "< 1",
      "unit": "MB",
      "statistic": "growth over the run",
      "conditions": "Postgres and MySQL stream runs above. Memory grew by less than this.",
      "command": "just bench-live -- --tier stream",
      "source": "Task 134",
      "date": "2026-11-15",
      "indicative": false
    },
    {
      "id": "edit-frame",
      "group": "grid",
      "label": "Inline editing under write load",
      "value": "9.3",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "Editing cells while the table takes writes. Other builds were running on the machine.",
      "command": "just bench-edit",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "edit-render",
      "group": "grid",
      "label": "Inline editing under write load, render",
      "value": "1.9",
      "unit": "ms",
      "statistic": "render, p99",
      "conditions": "Same run. Render is the app's own CPU time per frame. Other builds were running on the machine.",
      "command": "just bench-edit",
      "source": "Task 87",
      "date": "2026-11",
      "indicative": true
    },
    {
      "id": "editor-key",
      "group": "editor",
      "label": "SQL editor, keystroke to paint",
      "value": "2.10",
      "unit": "ms",
      "statistic": "p99",
      "conditions": "A 5,000-line script. Owner-approved 2026-10-30.",
      "command": "just bench-editor",
      "source": "Task 48",
      "date": "2026-10-30",
      "indicative": false
    },
    {
      "id": "editor-key-max",
      "group": "editor",
      "label": "SQL editor, keystroke to paint, worst case",
      "value": "4.81",
      "unit": "ms",
      "statistic": "max",
      "conditions": "Same run as the p99 above.",
      "command": "just bench-editor",
      "source": "Task 48",
      "date": "2026-10-30",
      "indicative": false
    },
    {
      "id": "editor-render",
      "group": "editor",
      "label": "SQL editor, render",
      "value": "2.75",
      "unit": "ms",
      "statistic": "render, p99",
      "conditions": "Same run. Render is the app's own CPU time per frame.",
      "command": "just bench-editor",
      "source": "Task 48",
      "date": "2026-10-30",
      "indicative": false
    },
    {
      "id": "editor-mem",
      "group": "editor",
      "label": "SQL editor, memory growth",
      "value": "9.2",
      "unit": "MB",
      "statistic": "growth over the run",
      "conditions": "Same run. Memory grew by this much.",
      "command": "just bench-editor",
      "source": "Task 48",
      "date": "2026-10-30",
      "indicative": false
    },
    {
      "id": "seek-int",
      "group": "editor",
      "label": "Jump to a position, integer key",
      "value": "1.5",
      "unit": "ms",
      "statistic": "median (range 1.5 to 1.6)",
      "conditions": "A 1,000,000-row table with an integer primary key. Owner-approved 2026-10-29.",
      "command": "just bench-seek",
      "source": "Task 38",
      "date": "2026-10-29",
      "indicative": false
    },
    {
      "id": "seek-uuid-pg",
      "group": "editor",
      "label": "Jump to a position, cold UUID key, Postgres",
      "value": "46",
      "unit": "ms",
      "statistic": "median",
      "conditions": "Walking a UUID-keyed table from cold. Owner-approved 2026-10-29.",
      "command": "just bench-seek",
      "source": "Task 38",
      "date": "2026-10-29",
      "indicative": false
    },
    {
      "id": "seek-uuid-mysql",
      "group": "editor",
      "label": "Jump to a position, cold UUID key, MySQL",
      "value": "96",
      "unit": "ms",
      "statistic": "median",
      "conditions": "Walking a UUID-keyed table from cold. Owner-approved 2026-10-29.",
      "command": "just bench-seek",
      "source": "Task 38",
      "date": "2026-10-29",
      "indicative": false
    },
    {
      "id": "seek-uuid-max",
      "group": "editor",
      "label": "Jump to a position, cold UUID key, worst case",
      "value": "206",
      "unit": "ms",
      "statistic": "max",
      "conditions": "Slowest cold UUID walk, across both engines.",
      "command": "just bench-seek",
      "source": "Task 38",
      "date": "2026-10-29",
      "indicative": false
    },
    {
      "id": "topo-render",
      "group": "topology",
      "label": "Replication topology, render",
      "value": "0.53",
      "unit": "ms",
      "statistic": "render, p99",
      "conditions": "One writer and two readers under load. Owner-accepted 2026-11-17.",
      "command": "just bench-topology",
      "source": "Task 96",
      "date": "2026-11-17",
      "indicative": false
    },
    {
      "id": "topo-idle",
      "group": "topology",
      "label": "Replication topology, idle frames",
      "value": "0",
      "unit": "frames",
      "statistic": "count in 10 s",
      "conditions": "The same topology left idle for 10 s.",
      "command": "just bench-topology",
      "source": "Task 96",
      "date": "2026-11-17",
      "indicative": false
    },
    {
      "id": "topo-frame",
      "group": "topology",
      "label": "Replication topology, frame interval",
      "value": "17.16",
      "unit": "ms",
      "statistic": "frame interval, p99",
      "conditions": "Not a headline. The window was paced at 60 Hz on this run, so frames cannot arrive faster than every 16.7 ms. The render row above is the cost that matters.",
      "command": "just bench-topology",
      "source": "Task 96",
      "date": "2026-11-17",
      "indicative": false
    },
    {
      "id": "chart-render",
      "group": "topology",
      "label": "Charts (in development), render",
      "value": "0.33",
      "unit": "ms",
      "statistic": "render, p99",
      "conditions": "A spike, not a shipped feature. A board of 6 tiles with one changing every second. Owner-accepted 2026-11-18.",
      "command": "just bench-spike-chart",
      "source": "Task 143",
      "date": "2026-11-18",
      "indicative": false
    },
    {
      "id": "chart-idle",
      "group": "topology",
      "label": "Charts (in development), idle frames",
      "value": "0",
      "unit": "frames",
      "statistic": "count in 10 s",
      "conditions": "The same chart board spike left idle.",
      "command": "just bench-spike-chart",
      "source": "Task 143",
      "date": "2026-11-18",
      "indicative": false
    },
    {
      "id": "chart-mem",
      "group": "topology",
      "label": "Charts (in development), memory growth",
      "value": "1 to 4",
      "unit": "MB",
      "statistic": "growth over the run",
      "conditions": "The same chart board spike. Memory grew by this much.",
      "command": "just bench-spike-chart",
      "source": "Task 143",
      "date": "2026-11-18",
      "indicative": false
    }
  ]
}
