CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
Linux strict security lane (G-C) / strict isolation escape matrix (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was canceled
Replace the three-run baseline profile with tools/perf/runner.py: one fixed release binary, per-child rusage via posix_spawn/wait4, 5 warmups and 20 samples by default, SHA-derived interleaved order, p50/p95/MAD, CPU user/sys and peak RSS. Every warmup output is normalized and compared with a committed wire digest before timing; a mismatch is CORRECTNESS_FAIL, never a fast sample. Short or unapproved-host runs are SMOKE, and baselines from another platform_id/profile are refused. Add workloads.json, expected digests for nine existing workloads, a dedicated fixed-node workflow (manual, self-hosted, requires --cpu-list), and docs/performance.md. bench.py stays as a compatibility shim. This is step 5 of the CI/security RFC (B08).
19 lines
547 B
Python
Executable File
19 lines
547 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""Deprecated alias for tools/perf/runner.py.
|
|
|
|
The old three-run profile did not verify workload correctness and is not a
|
|
performance gate. Use runner.py; this wrapper keeps old local commands working.
|
|
"""
|
|
|
|
import runpy
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
print(
|
|
"warning: tools/perf/bench.py is a compatibility shim; "
|
|
"use tools/perf/runner.py for correctness-verified measurements",
|
|
file=sys.stderr,
|
|
)
|
|
sys.argv[0] = str(Path(__file__).with_name("runner.py"))
|
|
runpy.run_path(sys.argv[0], run_name="__main__")
|