Files
marqdo-cli/tools/perf/expected/matrix-multiply.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

161 lines
4.0 KiB
JSON

{
"measure_argv": [
"run",
"tests/conformance/semantics/70-matrix-multiply.mq.md"
],
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"normalized": {
"events": {
"by_kind": {
"call.enter": 2,
"call.exit": 2,
"loop.iteration": 25,
"parameter.observed": 2,
"return": 2,
"run.completed": 1,
"run.started": 1,
"stream.opened": 1,
"variable.assigned": 54
},
"count": 90,
"sequence_sha256": "sha256:a2b99c523f389a8efd203f54a88f4c9c4ecefe03cf453a3c18ab255913423327"
},
"schema": "marqdo.observation",
"status": "ok",
"stderr": {
"bytes": 0,
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stdout": {
"bytes": 0,
"sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"terminal": {
"status": "ok",
"value": {
"items": [
{
"items": [
{
"items": [
{
"decimal": "1",
"type": "int"
},
{
"decimal": "2",
"type": "int"
},
{
"decimal": "3",
"type": "int"
}
],
"type": "list"
},
{
"items": [
{
"decimal": "4",
"type": "int"
},
{
"decimal": "5",
"type": "int"
},
{
"decimal": "6",
"type": "int"
}
],
"type": "list"
}
],
"type": "list"
},
{
"items": [
{
"items": [
{
"decimal": "7",
"type": "int"
},
{
"decimal": "8",
"type": "int"
}
],
"type": "list"
},
{
"items": [
{
"decimal": "9",
"type": "int"
},
{
"decimal": "10",
"type": "int"
}
],
"type": "list"
},
{
"items": [
{
"decimal": "11",
"type": "int"
},
{
"decimal": "12",
"type": "int"
}
],
"type": "list"
}
],
"type": "list"
},
{
"items": [
{
"items": [
{
"decimal": "58",
"type": "int"
},
{
"decimal": "64",
"type": "int"
}
],
"type": "list"
},
{
"items": [
{
"decimal": "139",
"type": "int"
},
{
"decimal": "154",
"type": "int"
}
],
"type": "list"
}
],
"type": "list"
}
],
"type": "list"
},
"value_type": "List"
}
},
"schema": "marqdo.perf.expected.v1",
"wire_sha256": "sha256:b975ac00d3e9d4d01d7e0fd26e0fde152333b254d38e7e1c4195bde824e97f32",
"workload": "matrix-multiply"
}