Performance Testing
Vigilo's performance harness is an external xtask package. Production Vigilo
does not depend on the harness, while the harness measures only supported CLI,
database, RabbitMQ, HTTP, and evaluator boundaries. Every timed sample must pass
its exact correctness oracle before it can contribute to statistics.
Component Boundaries
Versioned workloads exercise release-binary run creation, dispatch, HTTP agent, Wasm evaluation, worker persistence, outbox publication, lease recovery, and run finalization. Profiles select explicit tuples around page, batch, and concurrency boundaries; the harness never expands dimensions into a Cartesian product. Exact HTTP requests, worker deliveries, and durable rows catch lost batching or amplification before timing is interpreted.
Continuous workflows use a sample-level fixed-cost-plus-slope fit. Known batch boundaries use explicit stepped estimates. Every point requires repeated valid samples, exact observations, and residuals within its registered tolerance.
PostgreSQL normalized statements, planning time/counts, shared/temp buffers,
and WAL counters are captured after the timed process exits. The
cargo perf diagnose command renders them as non-gating evidence. The model
command writes the owned component-model artifact and fails closed on
incomplete or nonlinear evidence.
Criterion remains conditional on a legitimate production library surface. Runtime and database modules are currently binary-private, so the release executable remains the sole component measurement authority.
Calibration Boundaries
calibration-v1compares one immutable build to itself in 30 balanced blocks for representative CPU, database, broker, Wasm, and end-to-end anchors.- Noise analysis checks confidence bounds and residual orientation effects, then uses the 95% interval width and reviewed power target to recommend an even independent block count for each wall-time budget.
capacity-v1is a single-build load staircase. It remains separate from fixed-load A/B regression results and never claims maximum fleet capacity.- A worker knee may come from the throughput/latency rule or the reviewed normalized per-worker CPU ceiling.
- Shared PostgreSQL, RabbitMQ, agent, or host pressure invalidates a capacity point instead of being reported as Vigilo's worker knee.
- Publication requires matching build digests and immutable canonical evidence.
It generates a versioned budget policy and
reference-v2candidate.
Verdict Flow
A gating comparison loads one exact budget for each workload tuple. Results from a different environment ID, too few blocks, excessive orientation bias, or an invalid correctness oracle are non-green. A confidence interval within budget passes. The first interval wholly beyond budget is inconclusive and requires one fixed independent confirmation; only the second matching result is a regression.
Shared hosted CI runs service-free contracts and exact correctness checks, not wall-clock gates. Canonical blocking comparisons run serially on the exclusive versioned host contract.