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.
This commit is contained in:
1 parent
f211568c42
commit
1e2a045cc7
12 files changed
+223
-57
No files matched your search
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/55-first-fit-free-list-allocator.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/63-memory-bytecode-vm.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"call",
|
||||
"examples/factorial.mq.md",
|
||||
"数学.阶乘",
|
||||
"--arg",
|
||||
"n=5"
|
||||
],
|
||||
"measure_sha256": "sha256:97b912eb4a61df5f806ca6239dde3e1a4f51ad20aced1642cbb83dc510a5fa6b",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/71-http-parser.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/62-json-array-parser.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/70-matrix-multiply.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"stdlib/demo.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:4f5fcde6b4073511330c50f15bf07db13abc2cf0cf71de777e8e23ca870220fe",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"measure_argv": [
|
||||
"run",
|
||||
"tests/conformance/semantics/65-table-sort-stdlib.mq.md"
|
||||
],
|
||||
"measure_sha256": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"normalized": {
|
||||
"events": {
|
||||
"by_kind": {
|
||||
|
||||
Reference in new issue
Block a user