Offline Host Benchmark Harness

Linux benchmark scripts comparing production Host builds end-to-end over public RPC clients, real provider protocol decoders, SQLite state commits, and a local loopback SSE model server (no external API calls or GUI rendering).

Building and running

Build the Rust CLI and benchmark client in release mode on an idle Linux machine:

cargo build --release -p maka-cli --bin maka --example host_benchmark_client

Run a comparison campaign (compare.py --help lists workload flags, concurrency settings, and adapter options) and aggregate results into a JSON summary:

python3 scripts/rust/host-comparison/compare.py --help
python3 scripts/rust/host-comparison/summarize.py <results-dir> --output <summary.json>

compare.py verifies canonical transcript outputs across runs and records per-process RSS, CPU time, and I/O telemetry via telemetry.py.