Files
marqdo-cli/tools/perf/workloads.json
T
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

107 lines
2.4 KiB
JSON

{
"schema": "marqdo.perf.workloads.v1",
"workloads": [
{
"name": "hello-check",
"kind": "check",
"source": "examples/hello.mq.md",
"argv": [
"check",
"examples/hello.mq.md",
"--json"
]
},
{
"name": "factorial-run",
"kind": "call",
"source": "examples/factorial.mq.md",
"argv": [
"call",
"examples/factorial.mq.md",
"数学.阶乘",
"--arg",
"n=5",
"--output",
"json"
]
},
{
"name": "allocator-free-list",
"kind": "run",
"source": "tests/conformance/semantics/55-first-fit-free-list-allocator.mq.md",
"argv": [
"run",
"tests/conformance/semantics/55-first-fit-free-list-allocator.mq.md",
"--output",
"json"
]
},
{
"name": "json-parser",
"kind": "run",
"source": "tests/conformance/semantics/62-json-array-parser.mq.md",
"argv": [
"run",
"tests/conformance/semantics/62-json-array-parser.mq.md",
"--output",
"json"
]
},
{
"name": "table-sort",
"kind": "run",
"source": "tests/conformance/semantics/65-table-sort-stdlib.mq.md",
"argv": [
"run",
"tests/conformance/semantics/65-table-sort-stdlib.mq.md",
"--output",
"json"
]
},
{
"name": "bytecode-vm",
"kind": "run",
"source": "tests/conformance/semantics/63-memory-bytecode-vm.mq.md",
"argv": [
"run",
"tests/conformance/semantics/63-memory-bytecode-vm.mq.md",
"--output",
"json"
]
},
{
"name": "matrix-multiply",
"kind": "run",
"source": "tests/conformance/semantics/70-matrix-multiply.mq.md",
"argv": [
"run",
"tests/conformance/semantics/70-matrix-multiply.mq.md",
"--output",
"json"
]
},
{
"name": "http-parser",
"kind": "run",
"source": "tests/conformance/semantics/71-http-parser.mq.md",
"argv": [
"run",
"tests/conformance/semantics/71-http-parser.mq.md",
"--output",
"json"
]
},
{
"name": "stdlib-print-demo",
"kind": "run",
"source": "stdlib/demo.mq.md",
"argv": [
"run",
"stdlib/demo.mq.md",
"--output",
"json"
]
}
]
}