# Performance Mode Benchmark Harness

This experimental harness compares the same scenario workloads across current prototype state
strategies:

- `full-snapshot-clone`
- `proxy-tracked-state`
- `manual-patch-baseline`
- `schema-generated-setter`

Documented raw-results command:

```sh
node experimental/performance-mode/benchmarks/run-benchmarks.js --format ndjson
```

Fast reproducibility command:

```sh
node experimental/performance-mode/benchmarks/run-benchmarks.js --quick --format ndjson
```

The output is newline-delimited JSON. The first row has `type: "machine"` with runtime and host
metadata. Each benchmark row has `type: "result"` with the strategy, scenario, raw timings, operation
counts, patch counts, rollback timing where applicable, and snapshot/patch byte counts.

This harness is intentionally not wired into `SimulationEngine`. It benchmarks the standalone
performance-mode prototype paths only.
