omnigraph/crates
aaltshuler d426904ab6 bench(engine): scenario benchmark harness — cold subprocess runs, wait4 peak-RSS, JSON lines
The dedicated cost/perf instrument testing.md's write_cost_s3 note has been
promising: one cold, stateful macro-run per scenario in a fresh subprocess
(self-respawn via current_exe), reaped with libc::wait4 so ru_maxrss gives
kernel-exact peak RSS with no sampling; results are JSON lines and there are
deliberately no assertions — a decision instrument, never a CI gate.
Criterion is deliberately not used: statistics over warm in-process
iterations is the wrong model for multi-second stateful scenarios, it
measures no memory, and an OOM under --memory-cap-mb (setrlimit; enforced on
Linux, best-effort on macOS) is a data point that needs crash isolation.

Two scenarios ship with the skeleton:
- merge-all-changed: an embedding table whose branch changed EVERY row's
  vector, merged three-way into a diverged main — the changed-delta
  concat + hash-join cost of branch_merge. --baseline re-runs the identical
  workload minus the merge so the peak-RSS delta isolates it (smoke,
  20k rows x 256 dims: ~72 MB merge contribution on a 20.5 MB raw delta,
  ~3.5x).
- nearest-prefilter: selectivity-s filtered nearest() where matching rows sit
  far from the query point — quantifies the post-filter ANN recall deficit
  (smoke, 20k rows, s=0.05, k=10: 1000 matching rows exist, 0 returned);
  becomes the prefilter latency comparison unchanged once the fix lands.
2026-07-05 15:53:33 +03:00
..
omnigraph bench(engine): scenario benchmark harness — cold subprocess runs, wait4 peak-RSS, JSON lines 2026-07-05 15:53:33 +03:00
omnigraph-api-types chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-cli feat(compiler): plan pure enum widening as a supported ExtendEnum step 2026-07-05 01:32:11 +03:00
omnigraph-cluster chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-compiler test(compiler): pin the rename+widen interaction — rename first, ExtendEnum names the new property 2026-07-05 01:32:11 +03:00
omnigraph-policy chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00
omnigraph-server chore(release): bump version to 0.8.0 (#313) 2026-06-29 12:38:24 +02:00