Files
marqdo-cli/tools/perf/expected/allocator-free-list.json
T
cflmy d2267e912a
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
perf: add correctness-verified marqdo.perf.v2 sampler
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).
2026-11-21 17:28:05 +08:00

298 lines
6.1 KiB
JSON

{
"normalized": {
"command": "run",
"stderr": "",
"stdout": "",
"success": true,
"value": {
"items": [
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "16",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "32",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "16",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "16",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "32",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "56",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "56",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "72",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "96",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "112",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"code": {
"type": "text",
"value": "alloc.no_space"
},
"message": {
"type": "text",
"value": "没有足够的空闲空间"
},
"ok": {
"type": "bool",
"value": false
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "16",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "32",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "48",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"decimal": "16",
"type": "int"
}
},
"type": "map"
},
{
"entries": {
"code": {
"type": "text",
"value": "alloc.no_space"
},
"message": {
"type": "text",
"value": "没有足够的空闲空间"
},
"ok": {
"type": "bool",
"value": false
}
},
"type": "map"
},
{
"entries": {
"ok": {
"type": "bool",
"value": true
},
"value": {
"type": "none"
}
},
"type": "map"
},
{
"entries": {
"code": {
"type": "text",
"value": "alloc.double_free"
},
"message": {
"type": "text",
"value": "块已在空闲链表"
},
"ok": {
"type": "bool",
"value": false
}
},
"type": "map"
},
{
"decimal": "33",
"type": "int"
},
{
"decimal": "22",
"type": "int"
},
{
"decimal": "33",
"type": "int"
},
{
"decimal": "33",
"type": "int"
},
{
"decimal": "22",
"type": "int"
},
{
"decimal": "44",
"type": "int"
},
{
"decimal": "55",
"type": "int"
},
{
"decimal": "66",
"type": "int"
},
{
"decimal": "77",
"type": "int"
}
],
"type": "list"
}
},
"schema": "marqdo.perf.expected.v1",
"wire_sha256": "sha256:039ec1523726f48375f1fb5fafdfe849e296e1ee39b8a4820a0a0970cf3f8c3b",
"workload": "allocator-free-list"
}