benchhost

command
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 16 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL