Documentation
¶
Overview ¶
Command benchhost runs the durable-bench scenario (CONTRACT section 6: W1, W2, W4c, X1 and the H handoff rows) on the production Durable core packages as a native bench host. It is the command line impls/native.mjs documents:
benchhost --db <store, opened in place> --trace <statement trace> [--turns N] [--tools N] [--variant full|incr]
[--payload-kb K] [--label L] [--recover]
The core packages are event-driven and perform no I/O; this program is the host that gives them SQLite (modernc), applies each commit of a step in its own transaction, and writes a trace of every commit's statements for the gate to replay. CONTRACT_CRASH_AFTER=<seq> kills the process after the commit that consumed that sequence number.
Click to show internal directories.
Click to hide internal directories.