Skip to content

chore: Sticky Message Perf #749

Open

Description

Current status - 2026-11-15

PR #759 was squash-merged at the user's explicit session-closeout request as f3377b9d. Its tree 3d6d973e79a7cd47f9ede90b055fd54e1ec5b4d0 is identical to qualified head 7c9bec8a. Before merging, all eight workflows succeeded and all 39 checks were terminal: 36 successful and three expected skips. The current head had AI approval and no unresolved review threads. Four-version ordinary correctness and local 37,839 managed, 1,904 docs, 1,499 Node and 111 Python passes retain their original bindings; no new execution is claimed. The verified link fix closes #760. All RED/adverse/stopped evidence remains retained. The informational scope advisory remains FAILED, and factual human code/copy reading is NOT_ATTESTED; merge authorization does not establish the broader release criteria. Research, native lifetime/performance, final shipping/consumer, publication and readiness gates remain open.

PR #759, now at 6e5f2c2a, adds further test-only sticky coverage. Its source-2cb38b46 native internal artifact 14150176053 independently qualifies 543 passes, including 77 cyclic-workload contracts and eight cyclic rows; native timing allocation fields remain unmeasured. The full four-version compatibility run preserves every prior case/skip and adds the same 72 passing owned lifecycle cases per player scope. Portable Runtime has 36,703 passes at the named code/test inputs. Production Runtime implementation is unchanged. This extends baseline coverage; it selects no optimization and supplies no independent-build calibration or causal speedup. Final-head ordinary native correctness qualifies all prior identities/outcomes through an identical tested merge tree; all seven hosted workflows pass. Current-head AI approval is verified. Its scope advisory and human reading remain open. Earlier local, native and stopped-study observations below retain their own source and scope.

OPEN: extended measurement coverage is merged; no optimization is selected. PR #756 merges as eebecdba64e7d00af12fcc990c494f1f80139a7b, tree-identical to qualified head 7236f53d and tested synthetic merge cad9dcde. All eight workflows and 41 checks complete (39 success, two intentional skips), exact-head approval and no threads. All 12 ordinary Unity archives preserve prior case names, multiplicity, outcomes and skip reasons and add eight public clear/reset cases per player scope. Four actual framework/build-process bindings and every native license/lock/runner cleanup qualify. Internal IL2CPP has 458 passes (305 previous plus 153 new), 22 warmed rows and all 128 ordered first-type trials; comparisons retain 478 passes/66 identical skips plus five honesty passes, with exact maintained replay. Hosted generator 1,413, docs 1,902 and portable Runtime 36,631 pass. It adds four first-publication rows, four alternating-type rows, 145 contracts, eight public cases and compatible cspell/Roslyn development/test updates. Runtime implementation is unchanged. Timing allocation fields remain -1/unmeasured; independent-build uncertainty, causal optimization and omitted native/shipping scopes remain open. Final evidence and limits.

The automatic post-merge Performance Numbers run43583371256 separately qualifies source eebecdba: all nine push workflows succeed, all twelve ordinary Unity inventories match the reviewed PR, four actual framework snapshots and ten effective profiles pass, and both performance/cleanup scopes qualify. Post-merge evidence. Current published six target points remain below80%, with independent-build uncertainty unmeasured; #414 keeps their exact source and limits.

The earlier local fixture covers ordinary/sticky publication over three and sixteen warmed types, struct/class payloads, with preallocated wrappers. All77 contracts and eight timing rows pass on ARM64 Mono C# Release; all eight warmed rows measure zero allocations. The393-case admission and persistent124-case Core run pass with matching passive framework cleanup. Interface dispatch, rotation and operation selection remain inside timing; no callbacks are timed. This is local baseline coverage, not IL2CPP confirmation. Admission and limits.

A fourth local candidate, two fixed type/holder slots inside a lazy dictionary subtype (0649a7c6), is STOP_OBSERVER_FAILURE_A2_NOT_ADMITTED. It disables slot checks above two retained types and invalidates cached references on successful clear; no MessageBus fields or eager objects are added. A1 and B each pass417 contracts, nine reference-release cases,18 allocation cases and34 timing cases. All30 warmed rows measure zero allocations and all128 ordered first-type trials per phase are retained. A small module-proof RPC times out at the unchanged10-second bound before A2 admission. No A2 tests or unchanged retry follow, so the required return baseline is absent and no preservation/selection verdict is possible. Source and decision boundaries remain frozen; candidate stays local/unpushed. The24 common lifecycle cases are preserved separately on test-only d08f0045, whose full portable suite passes36,703 with exact old inventories and unchanged coverage. Protocol/stop, test-only qualification. Developer source/files/settings/scene/framework/compilation are restored; optional loaded-type restoration proof also times out and supplies no module-identity claim.

Separate read-only native inspection qualifies the older PR comparison artifact14107006380: full PE/PDB identity,414 sticky public function aliases resolved to11 unique bodies, matching procedure/contribution bounds and byte-exact bounded disassembly. A one-hop map retains41 static callsites and16 direct targets, including a constructor entry with26,339 aliases; no arbitrary unique identity is assigned. These are static code-shape records, not execution frequency or cost. Body qualification, one-hop limits. The new post-merge artifact has different full DLL and PDB hashes despite equal lengths/source-tree equality. The declared identity check therefore stops without transferring old addresses, new symbol scans or cost inference. Fresh identity result.

The first-publication workload reserves 32 disjoint closed types per row using reference-only admission and retains every ordered raw trial. Type materialization/setup are untimed; wrappers, timed-call overhead and recorder effects remain in the observation. Distinct types do not prove independent JIT bodies or total metadata cost. The new PR IL2CPP packet independently binds this workload at the qualified source; it remains one build, with allocation fields unmeasured and no causal optimization or independent-build uncertainty claim.

A third local candidate, bus-local last-publication holder caching (1bf763a1), completed its fixed A1/B/A2 once and was rejected: LOCAL_NOT_PRESERVED. Each phase passes 277 behavior/contract cases, 18 allocation cases and 26 timing cases; all 22 warmed rows report measured GC zero. The primary no-handler struct row improves (12.136/24.761/12.289 M/s), but alternating sticky struct publication worsens (12.106/10.595/12.143 M/s), a 12.48%/12.74% regression against stable controls. Other adverse rows and five unstable baseline rows are retained. All 384 ordered first-type trials remain available. The candidate is local/unpushed; no implementation is selected. Protocol and full result.

Earlier sparse stable-key and non-inlined lookup-guard candidates retain their rejected results below. Do not retry unchanged candidates, average away failed rows, infer native cost from source, or adopt a cache without retained-byte/lifetime evidence. Empty-bus size, single-type versus mixed-type behavior, lookup sentinels, reset/clear/repopulation, cold setup limits and independent-build calibration all remain relevant to another proposal. Better source-resolved attribution and a materially distinct mechanism are needed before another candidate.

Evidence: .artifacts/session506/749-last-publication/local-verdict.json and phase qualifications; prior published baseline evidence remains under .artifacts/session505/pr753-ci/. Release/campaign acceptance stays open in #575/#497/#503.

Earlier status - 2026-11-13

OPEN: baseline evidence and two local sparse-key investigations are retained; no optimization is selected. PR #753 merged as 3a2955fc from qualified head 3dcf4e81. Runtime messaging code is unchanged.

The current-head Windows IL2CPP Release internal packet preserves all 207 previous cases and adds 98 passing cases. It retains 18 warmed publication/lookup rows, 28 warmed-code first-bus/registration latency rows and all 896 ordered raw trials. Summary medians match raw observations; process architecture is x64 and unavailable allocation measurements remain -1. All four ordinary supported Unity jobs preserve prior case names, multiplicity, outcomes and skip reasons. All 12 official ZIP digests and framework/process bindings verify. Comparisons preserve 478 passes and 66 identical skips, with five passing allocation-honesty controls. All 41 checks complete (37 success, four intentional skips), exact-head approval and no threads. #752 is closed.

Local Mono observations separately pass 52 workload/architecture contracts, 189 timing/probe robustness cases, 18 existing allocation cases, 18 corrected warmed rows and 28 latency rows. Their exact source and backend bindings remain separate from the current IL2CPP packet. The original wrong-x64-label block remains unqualified and unchanged; #752 fixes its producer.

Read-only key/storage triage finds that existing sequential IDs begin at -1 and are assigned lazily by MessageCache. Sticky storage precedes dispatch, so direct reuse requires a stable assignment path. Dense MessageCache storage also ties array capacity to the global type index; quantify sparse retention after many unrelated types before adopting it. IntKeyMap remains an unmeasured alternative requiring the same key, first-touch, isolation and reclamation controls. Source triage.

Two local candidates now have retained unfavorable results. Sparse stable keys (35ae3d3f) pass all functional/allocation scopes but worsen empty struct lookup by14.1-14.6% against both controls. A separate non-inlined lookup guard (826b171d) preserves that row but worsens empty class lookup by11.3%, failing its fixed preservation rule. Both remain local/unpushed. Baseline drift prevents calibrated inference; neither result transfers to IL2CPP. Full follow-up.

Next: obtain better attribution for the affected empty-store paths and cover true first-type/metadata cost before admitting a different candidate. Preserve retained-state lifetime, absence/default/null, replay ownership, nested mutation, ordinary-dispatch sentinels and allocation promises. A single current-head build establishes no causal speedup, independent-build interval or cross-library equivalence. Verdict: OPTIMIZATION_UNSELECTED; unfavorable candidates retained.

Evidence: .artifacts/session505/pr753-ci/internal-benchmark-qualification.json, .artifacts/session505/749-sticky-baseline/.

Original request

PR746 review comment: investigate whether the retained-message dictionary path should be optimized.

Activity

  1. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Source triage and measurement gap

    The linked review comment targets the Type-keyed dictionary lookup in EmitSticky at original source e94d0214. Current master fd1359e6 (also final PR751 head4439dab5) retains the same file after line-ending normalization; raw file hashes differ because the original blob uses LF and checkout uses CRLF. No speed measurement accompanies the comment, so “slow” remains an unquantified concern.

    Current steady-state EmitSticky performs one dictionary TryGetValue, a typed-holder cast, a value assignment, then ordinary UntargetedBroadcast. The missing-type path creates a StickyValue holder and inserts it; first use may also create the dictionary. TryGetLatest reads the holder; ClearLatest removes the entry and clears the dictionary field when empty. A struct payload is stored in the typed holder field; dictionary values are holder references. This source description is not an allocation or timing measurement.

    Existing AllocationMatrixTests.StickyEmitAndLookupAreZeroAlloc covers2 payload shapes x3 callback forms x3 operations (sticky emit, lookup, ordinary emit) after publication/registration warmup, through the actual allocation assertion helper. It does not measure sticky first-touch, registration/replay throughput, or sticky operation rates. Searches of both benchmark directories find no Sticky/Latest throughput rows. Existing functional/retention suites cover bus/type isolation, absence/default/null, clear/reset/lifetime and reentrant replay behavior; these contracts must survive any representation change. Old passing results retain their source bindings; no new native execution is claimed here.

    Next required experiment: add source-bound sticky baseline rows through existing BenchmarkProtocol.Measure, distinguishing warmed sticky emission/lookup from first-touch and replay/registration. Match ordinary dispatch callback workload and payload shape; retain one-type and interleaved-type workloads. Keep canonical5-second timing separate from actual GC.Alloc probes, and retain exact callback/value assertions and current ordinary sentinels. Predeclare a candidate only after a measured bottleneck/representation question; require local semantic/allocation screening before calibrated independent IL2CPP comparison. Do not copy MessagePipe ratios onto unmatched retained-state semantics or substitute CoreCLR timing for Unity.

    Verdict DEFER_CODE_CHANGE_PENDING_STICKY_BASELINE. No candidate, benchmark result, optimization, Unity/profile run or throughput claim is produced by this triage. #749 remains open. Evidence .artifacts/session504/749-sticky-triage/.

  2. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Prospective warmed baseline foundation - 2026-11-13

    Question: what is the warmed public-operation cost of sticky publication and latest-value lookup, relative to ordinary publication on the same prepared bus state? Runtime baseline: master fd1359e6ea12c447c049cfed710c2c23d22b4f7d; MessageBus.Sticky.cs remains the reviewed Type-keyed implementation. No production candidate is admitted.

    RED observation: existing benchmarks contain no source-bound Sticky/Latest throughput rows. Existing18 allocation rows do not establish throughput, first-touch latency or registration/replay cost.

    Proposed first measurement block:16 warmed rows. OrdinaryEmit and StickyEmit each cover class/struct payloads and zero/one Action/one Fast handler (12rows). LatestPresent and LatestAbsent each cover class/struct payloads (4rows). Both emission arms seed the same retained value before handler setup, so retained-state existence is matched. Use identical callback/value work within each matched arm, exact fan-out and value-consumption assertions, prepared bus/token diagnostics off, bus/type isolation, no per-operation allocations in harness scaffolding, and existing ownership/leak cleanup. Consume lookup results and assert presence/default/identity outside timing.

    Use the existing canonical BenchmarkProtocol.Measure:10,000 warmup, one continuous5-second window with10,000-operation batches, then one separate untimed allocation batch. Reconcile every warmup/timed/probe operation. Keep allocation unavailable on stripped IL2CPP, never fabricate zero. Retain every row and every adverse result. Short behavioral contract runs exercise the actual workload and isolation; native Unity semantic/allocation screens precede published IL2CPP evidence. This block is not independent-build confirmation, native attribution or an optimization claim. Ordinary dispatch safety gates remain unchanged.

    Stop on any mismatch, unknown source/process/profile, extra outcome change, failed cleanup or changed protocol. Do not retry a stopped study unchanged, discard rows, alter thresholds, enable profiler timing in throughput or compare unmatched MessagePipe semantics. First-touch and replay/registration remain separate required follow-up measurements; this block alone does not close the issue. Evidence: ignored .artifacts/session505/749-sticky-baseline/, then source-bound CI artifacts and durable issue receipts. Full baseline/candidate measurement prerequisites remain in the existing benchmark runbook.

  3. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Pre-data clarification: retain the original16 rows and add two LatestMissingType class/struct rows, for18 total. LatestAbsent explicitly measures an empty retained map; LatestMissingType seeds a different message type before looking up the requested absent type. This separates the null-map fast path from an actual Type-dictionary miss and makes type isolation observable. No native execution or timing data has been collected for this new harness. All other protocol rules, first-touch/replay follow-ups and stop conditions remain unchanged.

  4. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Pre-native source freeze: local 1991ac835cd2a1eace995cce785e391f7406652f, Runtime byte-identical to masterfd1359e6. New18 warmed rows and18 short workload contracts compile against the current package topology. A pre-data refinement keeps LeakWatcher only in cold behavioral contracts; the performance workload has no watcher. The earlierdcee snapshot was compiled but never executed as a benchmark. No timing/semantic result is substituted across sources.

    Local host migration is temporary and owned: four consumer asmdefs receive the documented Attributes reference, original files/metas are backed up, original auto-refresh preference1 is recorded. The baseline source, hash manifest and restore ownership live under .artifacts/session505/749-sticky-baseline/. Next: prove the revised assembly fresh, run short actual-workload contracts and the existing18 sticky allocation cases, then one canonical PlayMode18-row window block. Keep every adverse result and verify framework/scene cleanup.

  5. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    The initial short-contract invocation is INVALID_SELECTION, not PASS: executeGUIDd0fe1d54 selects EditMode for the Runtime and Runtime.Benchmarks assemblies and reports zero cases. Its cleanup record confirms inactive framework, clean saved scene and no framework errors; the result gate correctly rejects zero passes. Both asmdefs have unrestricted platforms, while the Editor assembly explicitly includes onlyEditor. The repository test-loop catalog places the selected assemblies in PlayMode.

    No throughput window ran and no result is transferred. Retain that original zero-case run. Read native EditMode/PlayMode discovery for the two named fixtures, require all18 workload cases in PlayMode, then admit a separately identified PlayMode contract run with the same1991 source, assertions and cleanup rules. This corrects the execution scope; it adds no retry loop, skip, assertion change or time-budget increase.

  6. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Native discovery completes: exactly18 new workload cases and68 existing sticky semantic cases are present in PlayMode; none match in EditMode. The first PlayMode invocation observes86 passes and clean GUID-matched framework/scene cleanup. Its request was issued before the discovery callback file was read, so retain it as an early-admission functional observation, not the strictly gated short-contract result. No throughput data exists.

    The mode inventory is now verified and the owned discovery API is destroyed by its completion callback. Admit one isolated18-case PlayMode workload-contract run on unchanged1991, followed by the existing18 allocation cases in their Editor allocation assembly. Then require clean completion before the frozen18-row PlayMode throughput block. Original zero-case and early-admission records remain retained.

  7. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Separate first-bus and registration baseline block - prospective, before data

    The qualified18-case workload check and existing18 sticky allocation cases pass on unchanged1991 with GUID-matched clean cleanup. The single18-row warmed PlayMode block is now running as6388f610. No runtime candidate is selected.

    Next question: distinguish per-bus first publication and opt-in replay/registration costs from warmed throughput. Proposed separate28 latency rows:12 first-bus rows (ordinary/sticky x class/struct x none/Action/Fast), and16 marginal registration rows (class/struct x Action/Fast x retained value absent/present x replay false/true).

    Each latency row warms its exact code path on throwaway state, settles once, then prepares32 fresh bus states outside timing. First-bus rows time one emission with no previous publication on that bus. Registration rows keep one existing same-type subscription alive, prepare a distinct enabled token and callback outside timing, then time one new registration. Assert existing callback receives no replay; the new callback receives exactly one current value only for replay=true/present. Preserve exact payload identity/value, diagnostics off, ownership and retained-state cleanup.

    Reuse BenchmarkProtocol.MeasureColdLatency and its documented single-shot allocation-probe exception, labeling these warmed-code/per-bus or registration latency, never cold-JIT throughput. Extend only the returned measurement to retain all ordered raw wall-clock/count/byte samples after timing; do not change clocks, trial body, probe boundaries, median rules or existing published rows. Emit every raw trial with the new rows. Unavailable allocations stay -1. Native Mono probe overhead is a stated limitation; final stripped IL2CPP allocations remain unmeasured.

    RED is missing first-bus/replay rows and discarded raw cold-trial arrays in the current helper result. GREEN requires short actual-workload contracts, raw-sample retention and cleanup tests, exact32-trial receipts per new row, supported compilation, local full affected scopes, then actual source-bound IL2CPP CI. Stop on any operation/value/ownership/sample-count/cleanup or source/process mismatch. Preserve every adverse result; no uncertainty, causal improvement or independent-build confirmation claim. #512/#510 obligations remain open. This supplements the warmed block and does not close #749 by itself.

  8. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    The1991 warmed block6388f610 completes18/18 functional passes, each with0 measured managed allocation calls and exact source commit. A post-run identity check finds a real platform-label mismatch: the native process and OS reportArm64 on Apple M3 Max, but shared DispatchBenchmarkResult reportsx64 using pointer width. Opened #752 with the prospective RED/GREEN correction. Original raw rows and their incorrect platform strings remain unchanged.

    Verdict for those timing rows: UNQUALIFIED_ARCHITECTURE_LABEL_MISMATCH. The semantic and untimed zero-allocation observations remain scoped observations; no timing ratio, architecture-qualified baseline or optimization verdict follows. Pause further timing until the reporter is corrected and its actual-host regression plus compatibility controls pass. The separate raw-cold-trial extension is only an unexecuted local edit at this point.

  9. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    The integrated baseline source is frozen at cd6027a653b137041ddf99991f7dae29a87150cc on merged #751. Runtime files are unchanged. The actual Arm64/Release Unity 6000.4.6f1 host passes all 52 short workload/raw-trial/architecture contracts and all 189 existing timing/allocation-probe robustness cases, with clean framework teardown. The 28-row latency block now runs once under the previously declared 32-trial protocol; expected output is 896 ordered raw trial records. The earlier corrected 18-row warmed block remains source-bound local Mono evidence only. No optimization or IL2CPP effect is inferred. New documentation at local ee30a20c changes no benchmark source. Final Windows floor/backend CI and review remain required.

  10. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    PR #753 delivers the baseline fixtures without changing Runtime. The first latency block af855886 at cd6027a6 passes 28/28 rows, retaining all 896 ordered raw observations. Count/byte summary medians match exactly; wall-clock medians agree within CSV rounding. Native process 24754 is Unity 6000.4.6f1, Arm64, Mono, Release. Framework GUID teardown, clean saved scene and inactive ownership qualify. A post-framework global GC.Alloc enabled observation is retained and unattributed; a separate one-trial actual-helper success control disables its owned recorder, and another eval remains disabled. The same global flag appears enabled after compiling the restored original checkout without these fixtures, so it does not identify a leaked latency window. No timing is adopted as an optimization, independent-build result or IL2CPP claim. Original host files/metas and auto-refresh preference are restored. Evidence: .artifacts/session505/749-sticky-baseline/cold-observations.json, recorder-post-framework-observation.json, host-final-proof.json. Keep #749 open for the actual Type-keyed lookup investigation after final CI baseline qualification.

  11. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Read-only storage/key triage at 3dcf4e81, with Runtime unchanged: existing MessageHelperIndexer.SequentialId starts at -1 and is assigned lazily by MessageCache. EmitSticky stores before its ordinary-dispatch call, so simply replacing typeof(T) with the current ID would conflate unassigned types. A stable assignment path and first-publication/type-isolation controls are required. Directly reusing dense MessageCache also ties array capacity to the global type index, even when one bus retains few sticky types; measure the many-unrelated-types memory boundary before adoption. Existing IntKeyMap is sparse per owner and supports removal, but still needs correct stable keys and first-touch/reclamation controls. No native measurement selects either mechanism. The current IL2CPP baseline qualifies 18 warmed rows and 28 latency rows with all896 raw trials; final #753 integration remains pending. Source hashes and limits: .artifacts/session505/749-sticky-baseline/key-storage-source-triage.json. Verdict remains OPTIMIZATION_UNSELECTED; no runtime code or speedup claim.

  12. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Prospective local exploratory study, before candidate implementation. Baseline is merged #753 3a2955fc7f05926ab9029f5ff685418976ab8f46 (same Runtime/bench bytes as qualified 3dcf4e81). Question: does replacing the Type-keyed sticky dictionary with the existing sparse IntKeyMap and an independent, stable per-message integer key preserve semantics and reduce warmed operation cost? Do not reuse lazily assigned MessageHelperIndexer IDs or allocate arrays to their high-water index. Assign private integer keys once, preserve them across bus resets, retain no message/bus in static state, and keep the runtime dependency-free.

    Primary descriptive endpoint: existing Sticky_Warm_StickyEmit_Struct_None. Secondary: class publication, present/missing-type lookups and all callback rows. Retain all six ordinary-emission and both empty-store sentinels. Existing first-bus/registration latency rows are warmed-code/type observations; they do not measure true first-type initialization. That new one-time cost and per-type metadata remain unqualified until separately measured.

    Freeze baseline and candidate sources before native data. First run existing sticky behavior and allocation contracts, including fresh-type isolation, null/default, clear/reset, replay/reentrancy and holder release. Then one fixed fresh A/B/A sequence of the existing 18 five-second canonical rows on the same admitted Unity 6000.4.6f1 ARM64 host, retaining every row, code/assembly identity, zero-allocation probes and cleanup. Stop on any assertion, allocation, source/platform/state drift; do not repeat a failed block or change gates. This is local descriptive exploration only, not the formal paired MessagePipe screen, calibrated independent-build confirmation or an IL2CPP acceptance claim. A favorable Mono sequence alone cannot promote the candidate. All other stopped studies remain stopped. Evidence: ignored .artifacts/session505/749-sparse-key-exploration/. #754 remains the only open PR; no parallel or stacked PR will be opened.

  13. wallstop commented on Nov 13, 2026

    @wallstop
    CollaboratorAuthor

    Local sparse-key exploration completed once in the declared A/B/A order. Baseline 3a2955fc, unpushed candidate 35ae3d3f872cbcb4b048e104d40206f51dbda212. Fresh native module proof confirms the independent private keys and IntKeyMap in B, then the original dictionary in A2. Each phase passes the same 77 behavior/retention cases, 18 allocation cases and 18 five-second warmed rows. Every warmed row reports zero measured allocation calls; source/platform/case identities and GUID-bound cleanup verify.

    Retain the unfavorable sentinel. Empty-store struct lookup is 600.604 / 512.752 / 597.169 million operations/s in A1/B/A2: B is 14.6%/14.1% below the two controls. The primary warmed struct/no-handler publication row is 12.272 / 20.822 / 12.912 million operations/s; class/no-handler publication is 7.743 / 10.712 / 7.755. These are descriptive points, not a promotion verdict. Some baseline rows vary substantially (primary5.2%, present-struct15.1%, missing-type-class29.7%), so no calibrated inference or named JIT/hash-cost attribution follows.

    Verdict: INCONCLUSIVE / NOT_PROMOTED, with the empty-struct sentinel worse. Do not repeat this exact representation or hide its result. True first-type initialization, per-type metadata/retained cost, formal paired controls, independent IL2CPP builds and cross-platform confirmation remain open. Current runtime is unchanged. The host's original checkout, four foreign assembly definitions/metas and refresh preference are restored; its original saved scene is clean. The previously known GC.Alloc global-enabled flag reappears after original-checkout compilation and remains unattributed; this is separate from the completed owned allocation windows. Evidence: .artifacts/session505/749-sparse-key-exploration/local-descriptive-comparison.json, nine raw run packets/cleanup records and host-final-proof.json.

  14. 15 remaining items

  15. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Prospective one-hop static call-edge follow-up to qualified native packet6876066084. Freeze the common Clear/body1, Emit/body2 and lookup/body10 disassemblies before another symbol read. Question: which exact public entry symbols, if any, match their direct call sites and unconditional tail jumps outside each qualified body? This is name/address resolution, not runtime profiling or cost attribution.

    Take every such edge from these three fixed bodies; preserve every site and duplicate target, mark indirect/unmatched/multiple-name edges explicitly. Stream the same immutable PDB public table, retain all function records at exact target section/offsets, and require the entire consumed stream SHA256 to equal the prior e42e2b3f... digest. Reuse il2cpp_init export positive and fixed nonexistent negative controls. Do not use nearest preceding symbols, nearest-export annotations or source-name guesses; preserve all aliases. No callee recursion, new bound measurement, execution count, warm-path assumption, CPU share or optimization/adoption verdict. Optional demangling may only transform retained exact MSVC names and must preserve originals.

    Same600s/64MiBselected/2GiBconsumed caps and old subject/tool hashes; stop on any hash/control/parser/truncation/cap failure. Put new outputs in separate .artifacts/session506/749-native-sticky-callees/ and leave the prior117-file native packet unchanged. No build/host/trace/native application call, source/test/PR change or paused campaign resume.

  16. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    One-hop reader6876117103 stopped after2011public records on segment8, before complete-stream/control qualification; its54partial records remain unqualified in v1-stop-receipt.json/v1-unqualified-selected.txt. No callee-name result is accepted.

    The separately captured PDB section map explains the missing case: seven image selectors map frame1..7 directly to the seven matching PE headers; logical segment8 is marked absolute with frame0. It is not an eighth PE section. Pinned LLVM14 RawTypes/RawConstants define physical/logical offsets and the absolute descriptor flag (https://github.com/llvm/llvm-project/blob/llvmorg-14.0.6/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h and https://github.com/llvm/llvm-project/blob/llvmorg-14.0.6/llvm/include/llvm/DebugInfo/PDB/Native/RawConstants.h).

    Prospective reader correction before another public stream: validate all seven PDB image headers/map entries against the qualified PE table. Filter callable records before address translation; retain counts of nonfunction/absolute data rather than trying to invent their PE address. Fail closed on a function in an absolute/unmapped segment or outside its image range. Freeze controls for exact positive text/il2cpp addresses, ordinary data, absolute data, and rejected absolute/unknown/out-of-range functions. Require those controls before a corrected full stream; preserve the old stopped reader and its partial outputs, and retain original subject/tool hashes and600s/64MiBselected/2GiBconsumed caps. Same complete-stream digest and original positive/negative controls remain mandatory. No target build/execution, frequency/cost inference, callee recursion or adoption.

  17. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    One-hop follow-up6876117103/6876169937 result: PARTIAL_STATIC_EXACT_CALL_EDGE_NAMES_COST_UNMEASURED. The fixed common clear/emit/lookup bodies contain41static direct call sites at16distinct targets, with no external unconditional tail jump selected. Every target has exact public entry matches; all26578matching function records/aliases are retained. Original complete public stream SHAe42e2b3f... matches again; export/nonexistent controls and10callable-address controls pass. PDB image headers and seven selectors match the PE; absolute logical segment8 is retained as nonfunction metadata rather than invented as a PE section. The first stopped reader/54partial records remain unqualified.

    Exact entries identify metadata/class/RGCTX initialization helpers, codegen allocation/write-barrier/error helpers, Type.GetTypeFromHandle, Dictionary constructor/Add/Remove/TryGetValue/Count and ordinary UntargetedBroadcast aliases. Eight exact MSVC names demangle successfully, with originals preserved. No nearest-export annotation is used. One native entry has26339constructor-like public aliases; we do not choose a unique managed constructor from that set.

    These are all static sites including conditional/cold/error paths. Neither41sites nor a helper name is a per-emit count, measured warm-path frequency, allocator event, material-cost share or optimization verdict. No callee recursion, application execution, native profile/PMU/GC/retention/cost measurement, campaign resume or production change.

    New separate local packet .artifacts/session506/749-native-sticky-callees/qualification.json SHA2567cc4bda1e68b37dc16d1712229662c456fdfecd41b9f2268fb0bfa83675d99d5;27-file manifesta311cace010b99d927c7e0c4f6b76914bf04b381cff5f29e50e19096f42bce8f. The prior117-file body packet remains byte-unchanged. Complete consumed streams are hashed, but unselected raw records are not archived; no immutable remote publication or adoption is claimed.

  18. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Prospective local mixed-cardinality measurement extension, before fixture/code/run. Existing warmed coverage uses one type and exactly two alternating types; the rejected one-entry holder cache loses on the two-type case. A different two-entry/adaptive store would also need controls beyond its cache capacity and empty-bus/first-use/lifetime costs. No new Runtime candidate is admitted or implemented yet.

    Phase1 question: can the maintained harness represent cyclic3/16-type publication without callbacks or hidden per-operation allocations in timing? Add eight local-only warmed rows (3/16 xordinary/sticky xstruct/class) with one bus, exactlyNseeded retained types andNpreallocated typed emitters. Explicitly include array/interface/rotation and operation-choice wrapper overhead in the workload; no pure bus-method cost claim. Reuse BenchmarkProtocol.Measure and public EmissionId reconciliation for seed/warmup/timed/probe counts. No invented independent units, changed timer/window/probe rules or existing row IDs.

    Before timing require reference-only exact type uniqueness, actual source/type order, retained values/class identities, ordinary-versus-retained separation, other-bus isolation, invalid count/cardinality controls and six-counter cleanup. Contracts use3/16 xbothoperation/payloadshapes xfirst-chunk0/1/17 xsecond-chunk0/2/31, plus targeted invalid inputs. Timed rows attach no listeners and preallocate all emitters/payloads. Preserve existing fixture/source/old raw results, local48owner-cancellation cases and all previous benchmark rows; keep new message families disjoint from reserved first-type cohorts.

    RED is missing high-cardinality/disabled-cache preservation coverage, not a production bug. GREEN: compile/import the frozen source, focused/full new contracts plus affected existing correctness, actual local Mono timing/GC markers and raw counts, format/spelling/validation/normal hooks. Stop on unexpected compile/contract/cleanup/measurement failure, recorder-unavailable marking stays honest. No source-level optimization, adoption, native cost, IL2CPP or public-PR change. Local branchwork/506-sticky-cardinality based on b61da68a; evidence .artifacts/session506/sticky-cardinality/. Only after qualification may a distinct Runtime mechanism receive its own hypothesis, fixed A1/B/A2 and preservation/byte/lifetime gates.

  19. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Native local admission for phase1cardinality protocol6876292825 and completed48owner cases497/6875810843. Use a committed clean source child of b61da68a, with Runtime unchanged. Fresh passive host proof must show Unity6000.4.6ARM64, no framework/compile/update/play activity, main stage and saved clean NONE scene. Preserve original root detachedbefd, every changed package file/meta and four fresh foreign asmdefs/metas; pause AutoRefresh, apply only the known package Runtime/Editor/Tests projection plus required direct attributes references, then refresh through the maintained menu. Verify actual loaded new fixture/48-case method, source hashes and module identities before running.

    First run new cyclic77contracts plus affected sticky owner/core124cases and existing192benchmark contracts (393expected if discovery agrees); mismatch stops before timing. Use maintained DxMcpTestRunner GUID/run/cleanup records and passive sidecars, no eval polling during active tests. A second core124persistent-domain pass checks reload independence. Only after contracts/cleanup qualify run the eight new warmed3/16rows with existing unchanged Measure/probes; verify all eight source/backend/operation counters and honest allocation markers. This is local baseline qualification, not a cache candidate, IL2CPP or runtime-cost claim.

    Restore exact package originals, all four fresh foreign asmdefs/metas, AutoRefresh, benchmark environment, original saved scene and idle framework before ending the scope, including failures. No public push/newPR, host profiler attachment, source policy/rule change or old stopped study retry. Evidence .artifacts/session506/sticky-cardinality/; native sidecars .artifacts/unity-mcp/s506-cardinality-*.json. Stop on unexpected source/compile/discovery/test/cleanup/host-state failure and retain the failed inputs.

  20. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Native phase1 observer stops before any test launch: the broad fresh-assembly proof RPC reaches Pipeline's unchanged10000ms main-thread-operation limit. The only new console error is the bridge request timeout; compilationFailed=false, no framework activity/errors, saved scene remains clean. No subject failure or timeout cause is assigned. Source projection/foreign backups/AutoRefresh0 remain owned and restoration is pending.

    Prospective observer correction: select the three exact known assembly names first, then resolve only their required fixture/runtime types and methods instead of probing every assembly for each type. Keep the same source-byte/module/method/architecture gate and original timeout; do not repeat the broad request, raise limits, clear logs or start tests before proof passes. Preserve the original RPC/console stop separately. If the narrow observer also fails, stop native admission and restore the host rather than count a retry as qualification.

  21. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Session 506 cardinality fixture admission completed on private source 59dfed1bee4caf532c2ba8adb6377a5985a3d881 (unpublished; parent b61da68). The new 3-/16-type ordinary/sticky × struct/class fixture adds 77 contracts: exact 72 declared factor combinations plus five invalid-input guards. All 393 selected contracts passed; a second persistent-domain run passed all 124 Core sticky cases. Both runs and the eight-row timing run reached matching result and cleanup done, zero framework errors, idle editor and saved clean original scene. Frozen source hashes/MVIDs are retained locally.

    All eight warmed rows measured zero GC.Alloc calls and zero informational allocated bytes. Local Mono ARM64 Release points (3-type then16-type): ordinary struct 24.146/23.850 M/s; ordinary class16.864/15.913; sticky struct10.957/11.166; sticky class7.387/7.151. Wrapper interface dispatch, rotation and operation selection remain included; no callback body is timed. Operation/retention checks run against warm-up + timed + probe emissions. These are one local point, not candidate effects or independent-build intervals. Editor Release labels use actual CompilationPipeline.codeOptimization=Release; the separately observed Debug.isDebugBuild=true does not select that label in Editor code.

    Raw GUIDs: contracts f9d08f04-11e6-48b6-b407-3a78d4825a5a, persistent Core 90a569a7-2f6d-442f-88cd-53928f71e24a, timing a3884cc0-9f33-4186-82ab-737036c4d6e3. Receipts are under ignored .artifacts/session506/sticky-cardinality/. Root/foreign-asmdef projection remains owned and will be fully restored after local experiments. No new Runtime candidate is admitted by these baseline results.

  22. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Prospective distinct local screen (before run A1): baseline d08f0045d329e24b078ad4b1750f1b1aec23368b; candidate 0649a7c6a5985d921376dfab1dbd126a9d3f2678. Only candidate Runtime path: Runtime/Core/MessageBus/MessageBus.Sticky.cs. The rejected single-entry MRU implementation is not retried. This representation keeps two fixed type/holder slots inside a lazy sealed dictionary subtype, performs no hit promotion, disables slot checks above two retained types, clears all cached references on any successful removal, and re-enables empty slots after shrinking to at most two types. Reset drops the whole store. It adds four references plus a bool to the lazily allocated store and no MessageBus instance fields or eager allocations; exact native retained bytes remain unmeasured.

    Common baseline adds 24 three-type→shrink→repopulate→clear/reset cases (three removed types × concrete/interface publication × first-two warmed/not × clear/reset). First require all417 selected contracts and18 existing sticky allocation cases, unchanged inventory/outcomes, then30 warmed rows (18 ordinary/sticky/latest controls,4 alternating,8 cycle3/16) plus4 distinct-type first-publication rows with all128 raw trials. Fixed single A1/B/A2 sequence on the same local Unity6000.4.6f1 ARM64 Mono C# Release host, same wrappers/probes/settings. Record and retain all rows, guards, cleanup and actual source/MVID proofs; stop on correctness/allocation/observer failure. No unchanged repeat, outlier deletion or boundary adjustment.

    Descriptive local boundaries fixed before A1: primary Sticky_Warm_StickyEmit_Struct_None must exceed both baselines by >3%; every other warmed row must preserve >=97% of each baseline; all A1/A2 row spreads <=3%. Any failed preservation rejects local eligibility; any instability remains visible. This is not the calibrated paired/independent-build or IL2CPP confirmation gate and cannot authorize adoption. Source freeze and exact CRLF host projections are retained in ignored .artifacts/session506/749-two-slot/source-freeze.json. Additional work stays local under the one-PR session rule.

  23. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Pre-B scope clarification for the two-slot protocol: the417 common contract run deliberately contains Core148 plus269 benchmark contracts. In addition, run the existing StickyStateRetentionTests lifetime fixture separately in every phase, including baseline A1 before any timing, with exact complete name/outcome preservation. These exercise clear/reset reference collection rather than inferring ownership from registration counts. No row or decision boundary is removed; no candidate result has been observed.

  24. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Two-slot B admission observer STOP before any candidate tests: the expanded source/MVID proof (added nested cache-type/field enumeration) hit the unchanged10000ms Pipeline main-thread limit, console sequence26003. The root remains the owned frozen B source; fresh passive state is idle, main stage, original saved clean scene, framework inactive and frameworkErrors empty. Candidate compilationFailed=false; no target failure or Runtime cause is assigned. The full RPC return was not saved before the local throw; exact console evidence and passive snapshot are retained, and the expanded request is reconstructible from retained B proof plus the recorded expansion.

    Prospective observer-only correction: remove the expanded member enumeration, select the exact three named assemblies and return only their module identities; independently recheck every owned projected file and the frozen three source hashes. Preserve timeout, candidate bytes, test inventory, sequence and verdict rules. No unchanged RPC retry or test restart. A1's417+9+18 cases and34 timing rows already qualified.

  25. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Two-slot fixed screen STOP: A1 and B each qualified417contracts+9reference-release+18allocation+34timing cases, with all30 warmed rows measuring zero allocations and all128 ordered first-type trials retained per phase. After restoring frozen A bytes and compiling, the small three-module proof RPC hit the unchanged10000ms Pipeline main-thread limit before A2 admission (console26094). Passive state is idle, original saved clean scene, framework inactive/errors empty; no A2 tests started. The narrow request had succeeded for B; no specific Runtime, reflection, compiler or host cause is assigned.

    Verdict: STOP_OBSERVER_FAILURE_A2_NOT_ADMITTED. A1/B raw points remain retained; the required return baseline is absent, so no complete-bracket preservation/selection decision or adoption is permitted. No unchanged RPC retry, expanded timeout, test restart, boundary adjustment or extra timing run follows. Candidate0649a7c6 and common24-case baseline d08f0045 remain unpushed. Original developer host restoration is now in progress; source/foreign files/env/preferences will be byte-verified. Local packet .artifacts/session506/749-two-slot/, including both observer stops and every completed result/cleanup sidecar.

  26. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Prospective read-only post-merge native identity cross-check: qualified comparison artifact14112085515 (run43583371256/sourceeebecdba, official ZIP7755eb29…) retains GameAssembly.dll/PDB with the same lengths as the independently qualified PR artifact14107006380. Before comparing, fix this limited procedure: stream SHA256 of exactly those two new ZIP entries and compare against the prior qualified binary digests DLL6f63a2bbf90792e99a617309058f3efded10f8c88a33940104264140976089c0 / PDBf21341b2af5d422ee1f23bc96280f2374110484cc1085b20dee23f38c36fd813. Verify entry paths/lengths and retain raw identity results. No new target application execution, profiler, symbol-stream scan, native disassembly or host mutation.

    If both hashes are identical, only byte identity permits the prior source-bound static PDB/PE mappings to describe these exact bytes, while the two build/player/source/run bindings remain distinct. It does not establish execution cost, causal effects, compiler sharing versus ICF, or whether a fresh independent clean build occurred. If either hash differs, stop at IDENTITY_DIFFERS: do not reuse old addresses or expand to a new symbol study. Original117-file body packet and separate27-file one-hop packet remain unchanged. No optimization or release acceptance follows either result.

  27. wallstop commented on Nov 14, 2026

    @wallstop
    CollaboratorAuthor

    Post-merge native identity check completed once under fixed read-only limits: IDENTITY_DIFFERS_STOP_NO_MAPPING_TRANSFER. New artifact14112085515/run43583371256/sourceeeb build40192/player19176 has DLL161742848bytes SHA25672e9629fd30719c7ea827c4fe33562066243385d37ce7ac582d3f29672d551ed and PDB1941540864bytes SHA256414f7e15d3c5a7745a2be2963e43b1d90c6800cbe204247671ca436e4426bfe6. Both differ from the independently qualified PR artifact14107006380, despite equal lengths and source-tree equality. All2103283712bytes streamed within the2147483648byte/90second caps (4.36seconds).

    No old symbol address/body mapping is applied to these new bytes. No new symbol scan/disassembly, target execution, profiling, root mutation or original117-/27-file packet mutation follows. Source-tree equality and equal file lengths do not substitute for native-binary identity; differences do not identify their cause or prove a fresh independent clean build. Old static mappings retain only their original PR packet binding. Receipt .artifacts/session506/749-postmerge-native-identity/qualification.json records all hashes and limits.

  28. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Archived sticky throughput across three Release players

    I will replay the 22 warmed sticky-related rows from internal runs 45103955866, 45317077173 and 45537567670. The question is whether sticky publication cost recurs for the exact ordinary-versus-sticky scenario pairs when the fixture, Release profile and runner agree. The two latest runs share the staged release Runtime tree. The fixture source will be checked across all three revisions.

    Require all 22 original row identities in each verified archive, matching XML and player-log summaries, intact unmeasured allocation fields, the existing observation windows, and successful run cleanup. Use the within-player sticky/ordinary ratio for exact counterparts and report each player separately. A missing row or mismatched operand stops the comparison. The observations provide descriptive baselines for a future candidate on actual player builds. Evidence will be under .artifacts/session-goal-512-live-cohort/.

  29. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Sticky throughput gaps recur in the archived Release players

    All 22 warmed rows match their original case identities and XML/player-log records across 45103955866, 45317077173 and 45537567670. All observation windows meet five seconds, and all allocation fields remain unmeasured. The benchmark source matches across the three players. The two latest players share the exact staged 4.0.0 Runtime tree.

    Sticky throughput is 35.22–40.69% of ordinary throughput across the six one-type pairs, and 27.09–37.15% across the two alternating-type pairs. Alternating class is 28.94%, 31.86%, and 31.50%. Alternating struct is 27.09%, 36.55%, and 37.15%. This keeps alternating types a useful target for a candidate alongside the one-type controls. Across the two staged-Runtime-equivalent players, descriptive raw-rate spread reaches 9.32% for ordinary class Action emission and 9.02% for sticky struct emission without a callback. Candidate screening needs a contemporaneous paired baseline and separate allocation probes. This replay supplies no independent intervals or code-level attribution.

    All 66 observed rows and 24 original pair ratios are retained in .artifacts/session-goal-512-live-cohort/warmed-qualification.json, SHA-256 39af118e1457f041395afea91ef9e06bc8e055896fe68b11dc34764373134.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions