Add tools/ci/independent_build.py: export HEAD without stdlib/, build both shipped binaries with --locked, run a language-only check/call, and require a stdlib-dependent run to fail closed with no sibling stdlib. Add tests/independent/language-only.mq.md and run the lane as its own GitHub job and Woodpecker step. Perf runner resolves the pinned Bundle (--stdlib-dir/--bundle-pin), exports it to every workload and records it in the report; GitHub and Woodpecker lanes verify the pin and pass the product tests an explicit Bundle. docs/ci.md and performance docs describe the lanes.
3.1 KiB
Performance measurements (G4)
Status: the sampler and correctness corpus are implemented; no release performance baseline exists yet. Do not cite a development-container or TCG/QEMU number as a release gate.
Release-class policy
- RC candidates may use a maintainer-approved shared node. The environment,
load, limits, paired baseline/candidate comparison and approval are recorded
in the release notes; the result remains
WARN, never a dedicated-node PASS. - Stable/LTS releases require a dedicated fixed node and the full paired-run protocol. The shared-node exception is RC-only and must not be reused for LTS evidence.
Three separate measurements
| Class | Goal | Host |
|---|---|---|
| Language core throughput | interpreter, expressions, memory/containers/stdlib algorithms | fixed G4 Linux node |
| CLI experience | cold check/run/inspect, parsing, stdlib loading |
fixed G4 Linux node |
| Strict overhead | probe, re-exec, verification and strict run time vs pure | separate isolated performance node |
The G3 security VM can report correctness, not release performance: TCG time is dominated by emulation and is not comparable with native or KVM.
Tool
tools/perf/runner.py (schema marqdo.perf.v2) builds one release binary,
records its SHA256/Cargo.lock/rustc/source SHA, resolves one pinned stdlib
Bundle (name, version, tree/alias digests, source commit) and passes it to every
workload as MARQDO_STDLIB_DIR, verifies every workload's exact wire digest
before timing, then reports warmups/samples, p50, p95, MAD, CPU user/sys,
peak RSS and the environment manifest. A bad Bundle input or digest mismatch
fails before any workload runs; there is no checkout fallback (ADR-0070). See
tools/perf/README.md.
Rules enforced by the tool:
- a wrong workload output is
CORRECTNESS_FAIL; its timing is never reported; - fewer than 5 warmups / 20 samples is
SMOKE, not release evidence; --approved-nodeis required forMEASURED;- a baseline from another
platform_idor profile is refused; - p50 +15% / RSS +20% are investigation thresholds, not automatic rollbacks.
Current evidence
- Development-container smoke run (2026-11-21,
--warmups 1 --samples 3 --allow-smoke): all nine workloadsVERIFIED/SMOKE, no correctness failures. Stored as a smoke artifact, not a release baseline. - Remote Woodpecker G4: MEASURED provisional baseline at
1199c88. The manual.woodpecker/performance.ymlworkflow ran on the designated fixed agent (platform_id: woodpecker-agent-1): 5 warmups / 20 samples, 9/9 correctness verified, pinned CPU 0 from the container cpuset. Two same-day runs differed by -10.9%..+7.1% p50. The agent is a shared Docker container with thepowersavegovernor and loadavg ~5.7–6.1, so the gate is WARN, not PASS, and comparisons are valid only on thisplatform_id. Evidence:evidence/2026-11-21-perf-woodpecker-agent-1.md. - GitHub G4:
.github/workflows/performance-linux.ymlremains available for a physically separate node.