perf(p6): add a reproducible baseline profile harness

- tools/perf/bench.py builds the release CLI and measures 7 .mq.md workloads
  three times with wall time and peak RSS, validating --json success.
- Check in the schema-tagged JSON report and interpretation; no bytecode/JIT/
  native backend was added, so P6 remains baseline-only, not complete.
- Update STATUS/changelog/tests README.

Gate: fmt, clippy -D warnings, 430 tests passed.
This commit is contained in:
cflmy committed 2026-11-20 23:16:02 +08:00
1 parent b020904199
commit 4c8e7fd8ab
6 files changed
+219 -1

No files matched your search

+3
View File
@@ -185,6 +185,9 @@ grant, pure/strict, bad protocol version, reserved kinds and duplicate kinds
are rejected.
RFC-CM P2 closure (C01–C06, C11, C12) is pinned by
`tools/perf/bench.py` is the P6 baseline harness (not a test; it is not part of
the cargo gate).
`crates/cli/tests/p2_closure.rs`: 20 semantic fixtures run through
`run --mode pure --json`, sources are scanned for foreign/plugin/import
shortcuts, and value/stdout are compared with the goldens; the stdlib table