Commit Graph
5 Commits
Author SHA1 Message Date
cflmy 29fc0108f5 candidate: rc.5 archive evidence, rc.4 paired perf baseline and strict blocker
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed
- Record the deterministic rc.5 archive (sha256:446197ad...) built twice from
  the candidate commit, smoke PASS and the offline Ubuntu 24.04/glibc 2.39
  cold install PASS; still no tag/release/asset upload.
- Fix the perf comparison baseline to the previous published rc.4 instead of
  the pre-external-Bundle beta, and measure the same fixture workload in both.
  The shared-node paired run (9/9 COMPARED, max p50 +5.15%, max RSS +4.87%,
  investigate=false) remains a WARN candidate only: status SMOKE and
  environment_approved=false, so it cannot be claimed as G4 PASS.
- Record strict L1 as BLOCKED with the real failures (no namespaces/VM,
  runuser denied); no strict evidence was produced and root-only results are
  never promoted.

Refs cflmy/marqdo-cli#11, cflmy/marqdo#2
2026-11-27 10:21:11 +08:00
cflmy 9b21486c7d candidate: prepare 3.0.0-rc.5 metadata and fix the migrated perf print workload
ci/woodpecker/push/main Pipeline failed
ci/woodpecker/pr/main Pipeline failed
Version/metadata candidate only — this commit does not create a tag or release:
- workspace version 3.0.0-rc.4 -> 3.0.0-rc.5 (Cargo.toml/Cargo.lock) and an
  explicit unreleased-candidate CHANGELOG section; current release docs still
  describe rc.4 until a frozen release SHA and maintainer approval exist.
- The external-Bundle migration removed the in-repo stdlib tree, so the G4
  stdlib-print-demo workload no longer had a source. Move it to a self-contained
  tools/perf/fixtures/print-demo.mq.md, rename to print-demo, record its expected
  digest, and make performance.yml copy the same tools/perf into the baseline
  worktree so a paired run measures identical workloads.
- Evidence records the candidate measurement (MEASURED/correctness VERIFIED on
  the shared node) but explicitly does not claim G4 PASS: the beta baseline
  predates the external-Bundle harness and no approved paired node exists yet.

Refs cflmy/marqdo-cli issues #11, cflmy/marqdo#2
2026-11-27 10:08:22 +08:00
cflmy 1e2a045cc7 perf: time the execution path, not the opt-in Observation document
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/manual/performance Pipeline was successful
The first rc.3 perf comparison reused the old workload commands but switched
them to `run/call --output json`, so the candidate was timed while producing
thousands of structural events that the beta baseline never emitted. The result
was a reproducible +240..+375% p50 and +130% RSS delta caused by the
measurement, not by the program's execution cost.

- Give each run/call workload a correctness command (current Observation
  snapshot, full contract digest) and a measurement command (plain execution
  path, committed text digest).
- Verify the correctness digest once per workload and the measurement digest on
  every timed sample; a wrong or changed output is never timed.
- Re-record the expected digests and extend the tooling tests.
- A protocol document that is produced only on request must not be billed as
  an execution regression.
2026-11-24 22:25:30 +08:00
cflmy 682eae82b6 perf: measure run/call through the current Observation snapshot
The nine G4 workloads still requested the retired `run/call --json` option,
so every non-check workload exited 2 and was recorded as CORRECTNESS_FAIL; the
RC performance gate could not run at all.

- Request `--output json` for run/call workloads and re-record the committed
  expected digests.
- Pin correctness to the current snapshot: terminal status/result, committed
  stdout/stderr byte digests, and ordered event-kind counts with a sequence
  digest. Run ids, wall-clock stamps and host paths are excluded, so a correct
  program keeps one stable digest.
- Add tooling tests for the workload catalogue and digest stability.
2026-11-24 20:48:26 +08:00
cflmy d2267e912a perf: add correctness-verified marqdo.perf.v2 sampler
ci/woodpecker/push/woodpecker Pipeline was canceled
CI / fmt + clippy + test (Linux x86_64) (push) Canceled after 0s
CI / schema instance validation + consumers (push) Canceled after 0s
CI / runtime contract (macos-latest) (push) Canceled after 0s
CI / runtime contract (windows-latest) (push) Canceled after 0s
CI / release candidate artifact (macos-latest) (push) Canceled after 0s
CI / release candidate artifact (ubuntu-latest) (push) Canceled after 0s
Linux strict security lane (G-C) / strict isolation escape matrix (push) Canceled after 0s
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).
2026-11-21 17:28:05 +08:00