CI / fmt + clippy + test (Linux x86_64) (push) Waiting to run
CI / schema instance validation + consumers (push) Waiting to run
CI / runtime contract (macos-latest) (push) Waiting to run
CI / runtime contract (windows-latest) (push) Waiting to run
Linux strict security lane (G-C) / strict isolation escape matrix (push) Waiting to run
ci/woodpecker/push/woodpecker Pipeline was canceled
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).
99 lines
2.2 KiB
JSON
99 lines
2.2 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",
|
|
"--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",
|
|
"--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",
|
|
"--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",
|
|
"--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",
|
|
"--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",
|
|
"--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",
|
|
"--json"
|
|
]
|
|
},
|
|
{
|
|
"name": "stdlib-print-demo",
|
|
"kind": "run",
|
|
"source": "stdlib/demo.mq.md",
|
|
"argv": [
|
|
"run",
|
|
"stdlib/demo.mq.md",
|
|
"--json"
|
|
]
|
|
}
|
|
]
|
|
}
|