Files
marqdo-cli/tools/perf/expected/stdlib-print-demo.json
T
cflmy 1e2a045cc7
ci/woodpecker/push/main Pipeline was successful
ci/woodpecker/manual/performance Pipeline was successful
perf: time the execution path, not the opt-in Observation document
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

48 lines
1.3 KiB
JSON

{
"measure_argv": [
"run",
"stdlib/demo.mq.md"
],
"measure_sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe",
"normalized": {
"events": {
"by_kind": {
"branch.eval": 1956,
"call.enter": 131,
"call.exit": 131,
"effect": 404,
"loop.iteration": 810,
"parameter.observed": 166,
"return": 131,
"run.completed": 1,
"run.started": 1,
"stdout.chunk": 6,
"stream.opened": 1,
"variable.assigned": 2533
},
"count": 6271,
"sequence_sha256": "sha256:e17ea3ebe3ecd40f9e619f06e3bd9d4370d34616caf02a6099bbffe0f686522d"
},
"schema": "marqdo.observation",
"status": "ok",
"stderr": {
"bytes": 0,
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stdout": {
"bytes": 380,
"sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe"
},
"terminal": {
"status": "ok",
"value": {
"type": "none"
},
"value_type": "None"
}
},
"schema": "marqdo.perf.expected.v1",
"wire_sha256": "sha256:7bed5196b8cd52d1de12561f445bc2271dd5e91ed9c4065ebf79d0cb22d8a826",
"workload": "stdlib-print-demo"
}