Round 5 measured optimization queue

Control is commit a86104512464a5c1f25e7bf1491f4347144469ce and the accepted 041451 full suite. The baseline pin references existing compressed evidence and exact tool/source/artifact identities; the cost analysis separates measured body/inner work from source-supported hypotheses.

Each candidate runs alone after source review, focused native tests, and exact baseline restoration. The ordinary benchmark protocol, requests, fixtures, oracles and timers remain unchanged. Screens use every operation in selected families at 100 and 100,000, both placements, one candidate trial against the existing three control trials. All body-or-inner residuals and committed-memory changes remain visible. A selected composition receives the full thirteen-family 8,820-sample gate and relevant final native/actual-Wasm qualification.

Lane Selected families Cases Wasms
Write fixed-object fusion Map, Set, NodeStore, HashMap, RadixMap, Deque, RTree, Cell, BloomFilter 1,492 18
Grouped coalesced return All thirteen; ordinary/private frees control the shared helper extraction 1,960 26
Ordered Map/Set clear Map, Set 608 4
Hash structural clear HashMap, HashSet 348 4

The first released lane starts immediately; source changes and shared Cargo targets are serialized by the measurement owner. Frozen PocketIC work can run in parallel after its guarded build closes. Use the existing targets and a 24-worker cap; do not create another build tree. The canonical runner retains its existing compressed source/shard proof. Candidate identity adds only exact patches and hashes, without an extra source checkout or copied baseline raw.

The separate Hash-clear native diagnostic delegates key encoding/hashing to u64 and reuses CountingMemory. Its counters include one write scope and finalization, with survivor checks outside the captured interval. They establish logical hash/decode/equality and backing requests, not IC instructions, physical tracking regions, wall time or a percentage of the ordinary benchmark.

For example, the already reviewed metadata screen uses:

BENCH_KINDS=map,set,node-store,hash-map,radix-map,deque,rtree,cell,bloom-filter \
BENCH_SIZES=100,100000 BENCH_PLACEMENTS=retained,stable \
BENCH_TRIALS=1 BENCH_JOBS=24 bash bench/run.sh

The unchanged strict comparison adapter reads the published archive. Read operations in this suite execute inside updates with an immutable scope; body and inner intervals omit Candid/host verification. Actual query behavior and lifecycle safety are separate qualification evidence.