You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/BENCHMARKS.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ pnpm benchmark:postgres
35
35
36
36
- First view on a new device, structure only: `benchmark:sync:*` with `sync-balanced-children-cold-start`
37
37
- First view on a new device, with payloads: `benchmark:sync:*` with `sync-balanced-children-payloads-cold-start`
38
+
- Re-sync the same subtree on a restarted client that already has that scope locally: `benchmark:sync:*` with `sync-balanced-children-resync` or `sync-balanced-children-payloads-resync`
38
39
- Single end-to-end time-to-first-visible-page number: `benchmark:sync:*` with the same balanced workloads plus `--first-view`
39
40
- One-time bootstrap/discovery tax before opening the regional websocket: `benchmark:sync:bootstrap`
40
41
- Local render cost after the data is already present: `benchmark:sqlite-node:note-paths -- --benches=read-children-payloads`
These workloads keep the same balanced immediate-subtree shape as the first-view
97
+
benchmarks, but the receiver already has the current scoped result. That means
98
+
they measure the normal non-empty scoped reconcile path instead of the
99
+
empty-receiver direct-send shortcut.
100
+
81
101
### Prime Sync Server Fixtures
82
102
83
103
Use this when you want to prebuild sync-server fixtures before running the actual sync benchmarks.
@@ -411,6 +431,8 @@ Product-facing defaults:
411
431
-`sync-one-missing`: narrow protocol baseline for a tiny delta
412
432
-`sync-balanced-children-cold-start`: new device already knows the scope root and pulls the immediate children of a node from a balanced tree
413
433
-`sync-balanced-children-payloads-cold-start`: same balanced-tree cold-start path, plus payloads
434
+
-`sync-balanced-children-resync`: same balanced immediate-subtree shape, but the client already has that scoped result locally and re-runs scoped reconcile
435
+
-`sync-balanced-children-payloads-resync`: same balanced re-sync path, plus payloads for the scope root and those immediate children
0 commit comments