README.md
The selected MAIN change reduces complete stable RRts Heavy16 instructions by 11.30%, from 621,395,602,261 to 551,179,449,765, with identical required work. Retained RRT's reported complete metrics match its control exactly. Both MAIN artifacts pass all five application lifecycle gates. The compact receipt binds the existing evidence by SHA-256.
Cache eviction refills the unique Rc<Segment> allocation after flushing and
removing its old dirty identity. Pinning, initialization, failed-fill cleanup and
query discard remain intact. Structural map reads decode from Storage::read_with
and reserve vectors from the validated count, removing encoded-node scratch and
repeated vector growth. The result measures these changes together.
All performance comparisons below use the pinned 1fc9e6f5… PocketIC executable
and the existing qualified ac3f0441… stable / df1f914f… retained controls.
The ordinary workload has sixteen same-subnet canisters, 1,000 arrivals/s for
thirty 600-ms rounds, batch 1,024, concurrency 4,096, 40 callbacks, 1.9-MB batches
and the unchanged 500M body budget. Each audited run completes 18,000 root and
1,200 child workflows, 594,000 steps, 202,800 task attempts, 180,000 endpoint
messages and 360,000 Wire items, with 1,024 verified canonical blocks and no
traps, rejections, failed workflows or unresolved work.
| Complete stable RRts measurement | Qualified control | Selected MAIN |
|---|---|---|
| Replicated instructions, including maintenance | 621,395,602,261 | 551,179,449,765 |
| Exported heap page fees, included above | 71,525,280,000 | 68,119,920,000 |
| Complete rounds / simulated seconds | 103 / 61.8 | 93 / 55.8 |
| Physical calls | 3,083 | 2,786 |
| Complete cycle debit | 1,434,291,327,575 | 1,289,409,577,306 |
| Fleet grown Wasm / stable bytes after drain | 269,484,032 / 293,273,600 | 269,484,032 / 292,683,776 |
| Stable latency, p50 / p95 / maximum, seconds | Control | MAIN |
|---|---|---|
| Workflow admission to completion, 19,200 workflows | 43.2 / 53.4 / 57.0 | 37.2 / 46.2 / 48.6 |
| Root receipt to completion, 18,000 roots | 44.4 / 54.6 / 58.2 | 39.0 / 47.4 / 49.2 |
Root receipt latency excludes the IC ingress queue. Time is simulated IC time; grown logical memory is distinct from live payload or resident RAM. Finished replicated traces include maintenance and omit aborted DTS attempts and scheduler-only accounting. Cycles are separate from instructions. MAIN's cycle debit is 976 below the candidate branch's debit; these are independent MAIN receipts.
Whole-workload savings come with larger peak entries. reactor_turn maximum
instructions rise 509,107,080 → 510,780,813, with p95
506,440,269 → 507,081,402; its execution count falls 843 → 731.
reactor_receive maximum rises 148,585,013 → 178,843,866, while p95 falls
82,446,598 → 81,345,222 and count falls 3,083 → 2,786. Per-entry p95 uses nearest
rank over finished replicated entries. Metrics
retain the other entrypoint and callback statistics.
Retained RRT remains exactly 105,264,785,076 instructions and 49 rounds: complete execution/page counts, 2,434 calls, cycle debit, admission latency and grown memory all match its control. Both public Wire contracts match their references. The comparison contains the complete selected metrics.
Canonical builds used MAIN HEAD 1dcd4dce plus frozen staged implementation and
README changes, features [], pinned nightly-2026-10-15 and content-based Cargo
freshness. Stable/native manifests archive 603 / 671 source files and
18 outputs each; build times were 107.477 / 93.539 host seconds. The source
archives identify the exact pre-commit snapshot. Benchmark, v1 collector, auditor
and lifecycle scripts came from frozen worktree 6be4407e, with guards covering
MAIN's compiled closure. Host roles
record both roots. Final verification found 1,052 source, output and host
records, including the package READMEs, unchanged.
| Qualification | Result |
|---|---|
| SDK native tests + doctests | 154 + 30 = 184 fresh passes |
| RRts native tests + doctests | 181 + 5 = 186 fresh passes |
| RRts compiler case filtered from fresh run | 1 separately qualified reused case |
| State-contract tests | 19 fresh passes |
| Negative query-write / guard-escape examples | 2 intended compiler failures, separately checked |
| Full ordinary Heavy16 | Stable and retained MAIN audits pass |
| Same-artifact application lifecycle | All 5 gates pass for each MAIN artifact |
Lifecycle gates cover typed block bytes, drained KEEP preserving history/replay/ metrics, fresh work after KEEP, rejected KEEP with pending work, and original-wait continuation through a later drained KEEP. The independent MAIN review checks the selected qualification evidence.
The 2e1dae35… profiler server and fac30ed5… source-mapped debug artifact are separate diagnostic captures. Reconciled ledgers, profile-on/off checks and source attribution are described in capture.md and the source-bundle usage guide. Their bounded prefixes and collector screen do not establish a complete new-binary Heavy16 comparison. Performance selection remains on the matched older executable.