Skip to content

perf: reduce subscription churn and retained registration storage #502

Open

Description

Current status - 2026-11-08

PAUSED / PARTIAL RESEARCH. Many bounded lifecycle correctness fixes are now merged and their verified defect issues are closed. Native retention roots (#650/#652/#653/#654), allocation diagnosis (#640), churn cost and evidence-backed optimization decisions remain unfinished. Do not treat source cleanup as campaign completion.

Implementation baseline: master a2f096f1068f7951d193b95a03e76b480b7ef8a8, merged through #693 (same tree as qualified source 03f08cbecb156b7958dfc3e570d92d3deac04b4b). Shared release-wide review, cost and evidence gates remain in #575/#503. Historical observations and stopped studies below retain their original scope and verdict.

Part of #497 and the SubUnsub outcome in #414.

Inputs and dependencies

Exploration may begin earlier. Production confirmation waits for the #500 gates.

Purpose

Reduce registration and deregistration time, allocation calls, copied state, and retained storage without moving steady dispatch or weakening stale-handle safety.

Current representation

MessageRegistrationToken already has a slot array, doubly linked live list, and free list. This issue must not recreate that mechanism under a new name.

Concrete attributed candidates include:

  • one process-wide atomic ID increment per staged registration;
  • large copied MessageBusRegistration and typed deregistration state;
  • Dictionary plus List ordered spill storage with a dictionary lookup during ordered iteration and O(n) arbitrary list removal.

Owned experiments

  • Attribute every registration/deregistration allocation and copied byte by owner.
  • Measure direct bus, direct handler, token stage/active, remove, and disable at 1/16/256/1,000 live registrations.
  • Test owner-local generational handles: one token-owner identity plus slot and generation, with a burned slot on wrap.
  • Keep the internal handle at or below the current 16 bytes and preserve the public factory path where process-wide uniqueness is required.
  • Test a bus-owned generational registration-record arena with a small opaque built-in handle while preserving custom IMessageBus ExternalId/ExternalState behavior.
  • Test a compact ordered spill store: sparse hash index to append-ordered dense records, scrubbed tombstones, and transactional density-based compaction.
  • Apply the ordered-store experiment to HandlerActionCache spill first. Extend it to bus handler/priority stores only after that mechanism wins.
  • Test indexed or intrusive removal separately from storage layout.
  • Test bounded slabs or pools only for an attributed allocation owner.
  • Prototype batch register, enable, disable, and deregister transactions that validate, invalidate, and roll back once.
  • Measure delegate equality/hash cost for static, instance, capturing, equal, and duplicate delegates.
  • Revisit exact-MessageBus deregistration only when perf lab: resolve IL2CPP cost with WPR, PMU, and native maps #511 still shows the relevant indirect call and perf lab: calibrate variance, controls, power, and confirmatory inference #510 makes the lifecycle bracket interpretable.
  • Measure cold prewarm, high-water capacity, occupied slots, idle sweep, force trim, and retained Unity references.

Do not repeat object-only token recycling or rejected inline-plus-ordinary-spill layouts without a materially different mechanism.

RED and correctness

  • Extend test: build a differential bus state-machine oracle #509 with copied, double, foreign-token, out-of-order, stale, reset, reuse, and forced-wrap handles.
  • Cover owner destruction, partial failure, remove/register during dispatch, duplicate refcounts, and remove/re-add ordering.
  • Use LeakWatcher around 10,000 complete cycles. Baseline qualification: 120 cases × 10,000 cycles, using the corrected watcher from LeakWatcher misses live registrations sharing an existing route container #625. Changed registration representations require their own qualification; allocation, performance and reference reclamation gates remain open.
  • Return occupied slots and retained buffers to configured caps after sweep or trim.
  • Clear every delegate, captured object, and Unity object reference before reuse.
  • Keep every emit allocation row at zero.
  • Preserve custom IMessageBus round trips and retryable failure behavior.

Acceptance

  • The declared lifecycle endpoint passes perf lab: calibrate variance, controls, power, and confirmatory inference #510; the normal target boundary remains greater than 3%.
  • Registration-cycle GC.Alloc calls do not increase. An allocation candidate must reduce its declared count or establish a structural zero.
  • Handle size, copied bytes, probes, tombstones, compactions, and retained capacity are reported.
  • Dispatch affected rows and equivalent sentinels pass their registered gates.
  • Differential, lifecycle, leak, reclamation, allocation, and public-surface gates pass.
  • A sealed holdout supports the result.
  • Every representation receives a retained decision.

Route maps and middleware are out of scope.

Activity

  1. wallstop commented on Sep 11, 2026

    @wallstop
    CollaboratorAuthor

    Adjacent structural result from #573 and PR #580:

    Ordinary MessageAwareComponent subclasses now avoid exactly three default retained registrations. Explicit string-demo opt-in still retains the same three handlers. The allocation matrix passed 90 tests locally, and the corrective head d8bd8ac57f6a5113605c17a08401eda3efdd354e passes all CI workflows, including Performance Numbers.

    This is a structural retained-state reduction discovered during the adoption walkthrough. It is not completion or attribution of #502's registered subscription-churn experiments. No #502 checklist item changes.

  2. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Bounded local experiment while the independent shipping run remains active:

    • Question: can the existing registration attribution/lifecycle harness satisfy perf: reduce subscription churn and retained registration storage #502's first measurement slice without adding persistent CI cases?
    • Baseline: RegistrationAttributionBenchmarks already isolates direct bus, direct handler, disabled-token stage/remove, and active-token register/remove. RegistrationLifecycleBenchmarks already measures stage, enable, disable, re-enable, remove, retarget, and dispose at 1/4/16/1,000. The issue requires 1/16/256/1,000, so 256 is the only missing cardinality; current observations have not yet been retained on this issue.
    • Hypothesis: run the committed attribution cases and lifecycle matrix, plus a temporary local-only 256 fixture that calls the same production RunScenario. Remove that fixture and verify exact tracked restoration afterward. This yields Mono/editor screening data without expanding recurring CI.
    • RED: the current declared lifecycle factor list contains no 256 case.
    • GREEN: all selected benchmark cases pass with exact lifecycle/fan-out assertions, functional allocation samples, and retained CSV/structured rows; cleanup sidecars prove the framework and scenes return clean.
    • Stop rule: do not check the issue item or compare candidate mechanisms if the profiler is unavailable, any lifecycle assertion fails, the temporary probe changes production code, or the editor cannot prove clean passive cleanup.
    • Evidence: this issue plus ignored .artifacts/unity-mcp/ result, identity, cleanup, and local session files.

    This is exploratory Mono evidence only. It does not replace the required independent IL2CPP confirmation or add a workflow job, timeout, or test case.

  3. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Exploratory registration-attribution result (Mono)

    Preregistered method: #502 (comment)

    I ran the committed attribution/lifecycle benchmarks at production revision 15ed15ce185e0d122e0ee0d15249a49914a0366a, adding only a temporary local fixture for the missing cardinality 256 cases.

    • Unity 6000.4.6f1, PlayMode Mono
    • run GUID: 11fb957a-8961-40d7-93eb-2138a3715c96
    • result: 39 passed, 0 failed, 0 skipped, 0 inconclusive in 115.7980129 s
    • result SHA-256: 4adecfe7c6a8abe134e94484bf56939327480531da758a1a44cf083c732cda15
    • matching run-sidecar SHA-256: 7ad67b39bdb7e12865825cbf396e4d70b8c1fb113d7b715e8b1cc56c08eb8531
    • matching cleanup-sidecar SHA-256: 3bb1f8a86f8e90dacde2fcae570bc628a0b5c3c572d196760904b40cddb75c4c

    Allocation owner separation

    Operation Allocation window Allocations Bytes Time
    Direct bus register/remove 131,072 cycles 0 0 103.687 ms
    Direct handler register/remove 131,072 cycles 0 0 236.753 ms
    Disabled token stage/remove 10,000 cycles 10,000 2,640,000 26.012 ms
    Active token register/remove 10,000 cycles 20,000 3,920,000 270.999 ms

    This attributes one allocation / 264 bytes per cycle to token staging. Activation adds exactly one further allocation / 128 bytes per cycle. The warmed direct bus and direct handler structural layers are zero-allocation in this measurement.

    Required lifecycle cardinalities

    Cells are allocations / bytes / ms.

    Operation 1 16 256 1,000
    Stage 2 / 456 / .0004 19 / 5,440 / .0033 263 / 88,128 / .0696 1,009 / 346,048 / .1332
    Enable 31 / 2,280 / .0049 57 / 6,464 / .0280 313 / 86,232 / .3437 1,065 / 356,272 / 1.3077
    Disable 10 / 664 / .0024 12 / 1,304 / .0191 16 / 12,952 / .2097 18 / 49,880 / .8034
    Re-enable 1 / 128 / .0011 16 / 2,048 / .0185 256 / 32,768 / .2881 1,000 / 128,000 / 1.1463
    Remove 8 / 496 / .0023 8 / 496 / .0149 8 / 496 / .2159 8 / 496 / .8253
    Retarget 38 / 2,684 / .0067 66 / 7,316 / .0383 326 / 94,892 / .5503 1,080 / 389,572 / 2.1410
    Dispose 10 / 664 / .0027 12 / 1,304 / .0149 16 / 12,952 / .2261 18 / 49,880 / .8420

    The temporary fixture (SHA-256 fdf4c93104d9344d3200238e249cce4422a21801fc1f8c43bb29580105cb6e47) and generated meta were removed. After Assets/Refresh, fresh assembly reflection reported the temporary type absent and the canonical lifecycle benchmark present; the editor was stopped/idle with the original scene saved and clean. The tracked worktree and branch remain exactly at 15ed15ce.

    This is partial evidence, not a candidate verdict: it does not yet attribute every copied byte, exercise every structural layer at every live cardinality, provide IL2CPP/native evidence, or satisfy the sealed holdout. I am therefore leaving the first two experiment checkboxes open. No production source, recurring CI workflow, test filter, timeout, or coverage scope changed.

  4. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Additional copied-state attribution from the same fresh editor:

    A dynamic IL sizeof probe (not Marshal.SizeOf) measured the actual managed value-type widths:

    • MessageRegistrationHandle: 16 bytes
    • MessageBusRegistration: 80 bytes
    • MessageRegistrationToken.RegistrationSlot: 40 bytes
    • TypedHandlerDeregistrationState: 176 bytes
    • InstanceId: 16 bytes

    The 176-byte teardown value is embedded inline in each token registration object, and it itself embeds the 80-byte bus-registration value. This makes the measured 264-byte staging allocation consistent with the unified registration object's inline state rather than a separate handle allocation. Source inspection identifies the pass/return/field boundaries that carry these values, but I am not treating each C# by-value boundary as an executed copy: JIT/IL2CPP can elide copies, so exact copied-byte counts remain open pending native evidence.

  5. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Preregistration: owner-local generational token handles

    Question. Does replacing one process-wide atomic ID increment per token registration with one process-wide owner ID per token plus a token-local {slot, generation} identity materially improve staged-registration throughput while reducing retained slot storage?

    Candidate. Keep the public factory path globally monotonic. Token construction mints one 64-bit owner identity; token registrations use that owner plus a 32-bit slot and 32-bit nonzero generation (16-byte handle total). Increment generation only when a token slot is issued, permanently burn a slot before generation wraps to zero, and validate owner + slot + generation. Preserve live-list order and orphan/retry semantics.

    Baseline. Session 310 at exact revision 15ed15ce: disabled token stage/remove was 10,000 allocations / 2,640,000 bytes for 10,000 allocation cycles and 26.012 ms for 131,072 timing cycles; lifecycle Stage at 1/16/256/1,000 was .0004/.0033/.0696/.1332 ms. Current managed widths are handle 16 bytes and registration slot 40 bytes.

    RED. Before candidate measurement, add focused copied/double/foreign/stale/reused/forced-wrap checks, including proof that a wrapped slot is not reissued. Existing public-factory monotonicity and 16-byte size assertions remain mandatory.

    GREEN.

    • All focused handle semantics and existing token lifecycle tests pass with zero failures/skips.
    • MessageRegistrationHandle remains 16 bytes.
    • RegistrationSlot falls from 40 to at most 32 managed bytes.
    • Staging GC allocations/cycle and bytes/cycle do not increase.
    • The repeated warmed token-stage timing endpoint improves by more than 3%; direct bus/handler and emit sentinels must remain inside their registered gates.
    • No dispatch representation or recurring CI configuration changes.

    Stop rule. Reject and fully restore if correctness, wrap safety, allocation, public factory behavior, or size regresses; also reject if the target timing improvement is not greater than 3% or sentinels make the result uninterpretable.

    Evidence. Local-only Unity MCP runs, exact hashes/sidecars, and a retained issue result. Confirmation remains gated on IL2CPP/native evidence and a sealed holdout.

  6. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Owner-local generational handle experiment: rejected

    Preregistered method: #502 (comment)

    The temporary candidate used a 64-bit token-owner epoch plus 32-bit slot and 32-bit token-local generation. It rotated the owner epoch and permanently burned the selected free slot at generation wrap; the public factory retained process-wide uniqueness.

    Correctness and storage

    • Structural RED e8931804-e579-4e17-8188-b6410ddfaa00: intended 0/1 failure.
    • Forced-wrap RED 68b037d8-f822-4e74-bc57-7adb14c20dec: intended 0/1 failure.
    • Structural GREEN 79897dc1-8cf7-41c1-965f-9bc8c8122649: 1/1 passed.
    • Runtime GREEN 38476a6e-e2a8-484d-983a-962bc5a6a5b1: 47/47 passed with no skips.
    • Dynamic IL size: handle stayed 16 bytes; RegistrationSlot fell from 40 to 32 bytes.
    • All runs reached passive cleanup with exact GUID/path identity, no framework errors, and the original scene saved and clean.

    Performance

    The exact committed attribution fixture passed 4/4 in each candidate run.

    Row Baseline Candidate 1 Candidate 2
    Direct bus 103.687 ms 95.746 ms 99.670 ms
    Direct handler 236.753 ms 218.803 ms 227.478 ms
    Token stage 26.012 ms 26.072 ms 27.403 ms
    Token active 270.999 ms 270.984 ms 262.257 ms

    Allocation counts/bytes were unchanged exactly: direct layers 0/0; token stage 10,000 / 2,640,000; token active 20,000 / 3,920,000.

    Verdict: reject. Token stage was approximately 0.2% and 5.3% slower than baseline, so neither run clears the preregistered improvement strictly greater than 3%. The real eight-byte retained-slot saving does not satisfy the declared lifecycle endpoint.

    All candidate and RED-test edits were removed. C# formatting restored canonical line endings; the tracked worktree is clean at 15ed15ce. A fresh post-refresh assembly contains the original _id representation and none of the candidate fields or test methods. No production, test, workflow, timeout, filter, coverage, or recurring CI change remains.

    Primary result SHA-256 values:

    • RED structural: 4a7bb2cbf8da34795d6b9349253aca60b1a2904b1815b414d688b7ea18d1e32b
    • RED wrap: 918e47def506d06a81b5fd9625690538d7cf1e4895c043792f9889afc451302e
    • GREEN structural: 90ac3c80fbd3e7171887b1619c71ce15a9306362ab82f4a7f43873ccb9e4f61a
    • GREEN runtime: 2f49c05851d0055c2aa6deb3f83ba902d2c95caffecbd62e147b7f5073144538
    • performance 1: 5e601352ebd7373f7f13dbbe57c3494df828ebcd5b79cac8488cd9bb75b1e17e
    • performance 2: 968554434f295eae98bd1078a3379fbb56b1b5f7aa1c14bec030faceff3ee05f
  7. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Preregistration: bus-owned registration-record arena

    Question. Does moving the built-in bus deregistration record out of each public handle and into a reusable bus-owned generational arena materially reduce token staging bytes and lifecycle time without adding allocations or changing custom IMessageBus handle behavior?

    Candidate. Reduce MessageBusRegistration to a compact discriminated union. External handles retain the existing {long id, object state} round trip. Built-in handles reuse those payload words for {owning MessageBus, packed slot + generation}. A lazy bus-local struct arena stores the current built-in fields. Deregistration validates bus identity, slot, generation, and live state; successful/no-op completion scrubs every captured reference and leaves a reference-free tombstone. Arena reuse advances a nonzero generation, and a slot is permanently burned before generation wrap. Reset scrubs all live records and invalidates their generations. Dispatch storage and paths are untouched.

    Baseline. Session 310 at exact revision 15ed15ce: managed widths are 80 bytes for MessageBusRegistration, 176 bytes for TypedHandlerDeregistrationState, and 264 allocated bytes per disabled-token stage/remove cycle. Warmed direct-bus churn is 0 allocations / 0 bytes and 103.687 ms for 131,072 cycles; disabled token stage is 10,000 allocations / 2,640,000 bytes and 26.012 ms for 131,072 timing cycles.

    RED. Add focused local-only guards for the compact layout, external id/state equality and round trip, correct-bus ownership, copied/double deregistration diagnostics, stale copies after slot reuse, reset invalidation, generation reuse/wrap, and reference scrubbing. Adapt the existing intentional-private-layout stale-bucket guard locally so it reads the arena record rather than requiring captured state in the public value.

    GREEN.

    • Focused registration contracts, all over-deregistration kinds, stale-slot guards, reset/reclamation guards, and token lifecycle tests pass with zero failures/skips.
    • MessageBusRegistration falls from 80 bytes to at most 24 managed bytes; TypedHandlerDeregistrationState and the measured staging object shrink accordingly.
    • Warmed direct-bus churn remains exactly zero allocations; token stage allocation count does not increase and bytes/cycle decrease.
    • Repeated warmed token-stage timing improves by more than 3%. Direct bus/handler and emit sentinels stay within their registered gates.
    • Arena records release all object/context references after deregistration and reset.
    • No public API, custom external-handle behavior, dispatch representation, recurring test filter, workflow, timeout, or coverage scope changes.

    Stop rule. Reject and fully restore if any correctness, wrong-bus isolation, copied-handle diagnostic, stale/reuse/wrap safety, reference scrubbing, allocation count, or sentinel gate regresses. Also reject unless repeated token-stage timing improves by more than 3%, even if the byte reduction is real.

    Evidence. Local-only Unity MCP RED/GREEN and benchmark runs with exact GUIDs, hashes, cleanup sidecars, and a retained issue result. Any retained candidate would still require independent IL2CPP/native confirmation and the sealed holdout.

  8. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Bus-owned registration-record arena experiment: rejected

    Preregistered method: #502 (comment)

    The temporary candidate replaced the built-in handle payload with a packed slot/generation plus an arena-epoch identity. A lazy bus-owned struct array held deregistration records, scrubbed all captured references on release/reset, permanently burned a selected slot before generation wrap, and released an empty arena on force trim. External handles retained the existing ExternalId / ExternalState representation and equality behavior.

    RED, correctness, and physical storage

    The initial focused RED was the intended 0/2:

    • MessageBusRegistration was 80 bytes rather than the declared maximum 24.
    • Passing a built-in handle to another built-in bus consumed the owning bus's registration.

    After the candidate and the stale-after-trim epoch correction:

    • managed sizes were handle 24 bytes, typed deregistration state 120 bytes, arena record 88 bytes;
    • the full handle contract passed 23/23;
    • over-deregistration passed 10/10;
    • stale reused-bucket guards passed 2/2;
    • null/invalid/arena semantics passed 46/46;
    • token dispose/reuse and custom-bus retry behavior passed 50/50;
    • lease failure/retry behavior passed 15/15;
    • bus invariants passed 24/24;
    • memory reclamation passed 93/93;
    • the full editor allocation category passed 112/112, including every emit zero-allocation row and warmed direct register/deregister zero allocation.

    Two useful RED corrections occurred during screening. First, dropping the arena array without changing its epoch allowed an old slot-0/generation-1 handle to alias a new array; the epoch identity fixed both interceptor and global-accept-all stale-after-trim cases. Second, counting the private array as a pooled collection changed an exact trim result; removing that counter increment restored the legacy result while retaining actual buffer release.

    Steady-state attribution

    Two clean repeated runs of the exact committed attribution cases passed 8/8 each (the filter also includes the four deregistration-attribution siblings).

    Row Baseline Candidate 1 Candidate 2
    Direct bus 103.687 ms 103.277 ms 102.299 ms
    Direct handler 236.753 ms 212.889 ms 216.558 ms
    Token stage 26.012 ms 22.086 ms 23.558 ms
    Token active 270.999 ms 264.673 ms 269.248 ms

    Allocation samples were exact and repeatable:

    • direct bus and direct handler: 0 allocations / 0 bytes;
    • token stage: 10,000 allocations / 2,080,000 bytes, improved from 2,640,000 bytes;
    • token active: 20,000 allocations / 3,360,000 bytes, improved from 3,920,000 bytes.

    Thus token-stage timing improved by 15.1% and 9.4%, and its object fell from 264 to 208 bytes.

    Decisive lifecycle regression

    Fresh-bus Enable must allocate the arena identity/storage. That increased registration-cycle allocation calls at every measured live cardinality:

    Cardinality Baseline Candidate
    1 31 / 2,280 bytes / .0049 ms 33 / 35,384 bytes / .0058 ms
    16 57 / 6,464 bytes / .0280 ms 61 / 41,744 bytes / .0270 ms
    1,000 1,065 / 356,272 bytes / 1.3077 ms 1,075 / 569,152 bytes / 1.2408 ms

    Verdict: reject. The smaller handle produces a real, repeated staging win, but the arena adds 2/4/10 allocation calls to active registration at 1/16/1,000. That violates #502's acceptance rule that registration-cycle GC.Alloc calls must not increase, so the candidate is not retained.

    All candidate and RED-test edits were removed. C# formatting restored canonical line endings; the tracked worktree is clean at 15ed15ce185e0d122e0ee0d15249a49914a0366a. After Assets/Refresh, fresh assembly reflection reports the original 80-byte MessageBusRegistration fields and no bus arena; the restored handle contract passes 17/17. No production, test, workflow, timeout, filter, coverage, or recurring CI change remains.

    The direct Unity test bridge used for this bounded experiment did not emit persistent run GUID/sidecar files, so the retained evidence is the exact revision, test/result counts, structured benchmark rows above, and this issue decision.

  9. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Preregistered experiment: compact ordered spill records

    Scope is limited to MessageHandler.HandlerActionCache<T>.OrderedEntries. I will not extend this representation to priority stores, registration metadata, the public API, or recurring CI.

    Candidate

    Keep the existing two-entry inline representation. On the third distinct handler, spill into:

    • a sparse Dictionary<T, int> mapping each live key to its record index;
    • append-ordered records containing the key and Entry together;
    • scrubbed tombstones for O(1) arbitrary removal;
    • density/absolute-threshold compaction before ordered iteration, with live order preserved;
    • remove/re-add appending at the tail, retained storage reuse after Clear, and no per-dispatch allocations.

    The dispatch hypothesis is that ValueAt(index) can read the record directly instead of performing a second dictionary lookup after KeyAt(index).

    Restored-production baseline

    Fresh PlayMode run, filter HandlerCardinality_Handler: 36/36 passed (18 contract rows plus 18 five-second perf rows).

    Scenario ops/s allocations bytes
    HandlerDispatch_1 10,615,059.841 0 0
    HandlerDispatch_2 9,805,279.508 0 0
    HandlerDispatch_3 9,083,649.916 0 0
    HandlerDispatch_4 8,675,910.147 0 0
    HandlerDispatch_5 7,991,086.459 0 0
    HandlerDispatch_8 7,010,337.569 0 0
    HandlerDispatch_9 6,452,212.221 0 0
    HandlerDispatch_16 4,830,144.162 0 0
    HandlerDispatch_64 1,799,581.129 0 0
    HandlerChurn_1 404,212.282 20,000 3,920,000
    HandlerChurn_2 499,123.164 20,000 3,920,000
    HandlerChurn_3 439,957.834 20,000 3,920,000
    HandlerChurn_4 435,654.308 20,000 3,920,000
    HandlerChurn_5 430,342.116 20,000 3,920,000
    HandlerChurn_8 430,111.193 20,000 3,920,000
    HandlerChurn_9 445,767.416 20,000 3,920,000
    HandlerChurn_16 425,462.938 20,000 3,920,000
    HandlerChurn_64 393,186.842 20,000 3,920,000

    Accept/reject gates

    Accept only if all correctness and allocation gates pass and repeated clean candidate runs improve spill HandlerDispatch at cardinalities 4, 16, and 64 by strictly more than 3% each. Cardinalities 1 and 2 must remain inline and must not regress by more than 3%. Every dispatch row must remain 0 allocations / 0 bytes. Churn rows must not exceed 20,000 allocations or 3,920,000 bytes, and throughput at cardinalities 4, 16, and 64 must not regress by more than 3%.

    RED tests will pin direct ordered record access, O(1) arbitrary tombstoning with key/value reference scrubbing, survivor order, remove/re-add tail order, bounded density compaction, full teardown/reset reuse, and unchanged inline/spill boundary behavior. Existing dispatch, deregistration, reset/reentrancy, allocation, and storage-observation suites remain mandatory.

    I will restore the candidate if any hard gate fails. This experiment adds no workflow and no recurring CI time.

  10. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Result: compact ordered spill records rejected

    The preregistered HandlerActionCache<T>.OrderedEntries experiment is rejected and fully restored.

    Implemented candidate

    • Preserved the two-entry inline representation.
    • Replaced spill Dictionary<T, Entry> + List<T> with a sparse Dictionary<T, int> and append-ordered records containing key, entry, and live state.
    • Arbitrary removal became O(1) tombstoning and scrubbed both key and entry references.
    • Compaction used reusable scratch index/record stores, built replacements before swapping, preserved survivor and remove/re-add order, and retained the previous dictionary/list capacities.
    • ValueAt(index) read the dense record directly without rehashing its key.
    • Compaction triggered at 64 tombstones when tombstones were at least as numerous as live records. Fixed-cardinality churn retained map capacities 7/17/89 and record capacity 128.

    Correctness and allocation evidence

    • RED compile failed because production exposed no tombstone contract.
    • Candidate focused contract suite: 36/36. New cases pinned direct value access without hashing, scrubbed references, transactional failure recovery, survivor order, remove/re-add tail order, bounded compaction, full teardown/reuse, and the inline/spill boundary.
    • Full editor allocation assembly: 291/291 in 538.9 s.
    • Candidate full cardinality matrix: 114/114.
    • Every handler-dispatch row remained 0 allocations / 0 bytes.
    • Every handler-churn row remained 20,000 allocations / 3,920,000 bytes.

    Performance verdict

    Percentages are candidate versus the fresh restored-production baseline. Every retained run is shown.

    Gate Run 1 Run 2 Required
    Dispatch 1 inline sentinel -0.38% -2.97% no worse than -3%
    Dispatch 2 inline sentinel -3.71% -2.53% no worse than -3%
    Dispatch 4 -3.81% -3.34% greater than +3%
    Dispatch 16 +0.76% -2.45% greater than +3%
    Dispatch 64 -1.86% -1.18% greater than +3%
    Churn 4 -4.99% -8.77% no worse than -3%
    Churn 16 -4.84% -7.57% no worse than -3%
    Churn 64 -11.23% -3.86% no worse than -3%

    The representation preserved allocation behavior but did not improve any declared spill-dispatch endpoint by more than 3%, and repeated churn results failed the regression gate. The likely saved ordered-iteration dictionary lookup did not offset the record/tombstone bookkeeping on this Mono/editor screen; no stronger causal claim is made without native profiling.

    Restoration proof

    • Candidate production and experiment-only test diffs were reversed.
    • Csharpier restored canonical line endings.
    • Tracked worktree is clean.
    • Fresh Unity reflection reports the original fields: _spillMap,_spillOrder,_spillOrderStart; no sparse index or record arena remains.
    • Restored focused contract suite: 33/33.
    • Editor stopped ready with zero error logs.

    No workflows or recurring CI work changed. Do not repeat this compact-record representation without materially different evidence.

  11. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Preregistered experiment: indexed arbitrary removal without a new spill layout

    Question and scope

    Can HandlerActionCache<T>.OrderedEntries remove an arbitrary spill key in O(1) by retaining its order-list index in the existing dictionary value, without adopting the rejected dense-record arena or moving steady dispatch?

    This experiment is limited to the current dictionary-plus-order-list spill. It does not touch registration handles, bus priority stores, public API, workflows, or recurring test duration.

    Baseline extension before candidate

    I will temporarily add a HandlerTailChurn operation to the existing five-second cardinality harness. At cardinality 3+, it repeatedly removes and re-registers the tail handler, forcing the current List<T>.Remove fallback to scan the spill order. This temporary row will first run against restored production and will not be retained as an additional recurring CI row.

    The existing sequential HandlerChurn and HandlerDispatch rows remain sentinels. Their restored-production values are already retained in the preceding experiment; I will rerun the affected endpoints in the same editor after the tail baseline.

    Candidate

    Keep Dictionary<T, Entry> plus List<T> conceptually unchanged, but extend the dictionary value with the entry's current order index. Arbitrary removal will scrub the indexed list slot instead of scanning/removing it. Prefix teardown remains O(1). Ordered preparation compacts tombstones in place and repairs live dictionary indices. Remove/re-add still appends.

    This deliberately isolates indexed removal from the rejected key-and-entry dense-record layout and from transactional scratch stores.

    RED and correctness

    RED cases will pin that arbitrary removal leaves a scrubbed indexed tombstone without shifting later slots, preparation restores dense survivor order and indices, remove/re-add appends, prefix teardown remains bounded, clear/reuse retains storage, duplicate refcount updates preserve position, and the two-entry inline boundary is unchanged.

    Existing mutation, reset/reentrancy, deregistration, reclamation, leak, allocation, and public-surface behavior remains mandatory.

    Accept/reject gates

    • Tail-churn throughput at cardinalities 16 and 64 must improve by strictly more than 3% in every retained clean candidate run.
    • Sequential HandlerChurn at 4, 16, and 64 must not regress by more than 3%.
    • HandlerDispatch at 4, 16, and 64 and inline sentinels 1 and 2 must not regress by more than 3%.
    • Every dispatch row remains 0 allocations / 0 bytes.
    • Tail and sequential churn allocation calls must not exceed the measured baseline; bytes remain informational.
    • Spill map/order capacities must remain bounded at the existing high-water marks under fixed cardinality churn.
    • Any hard-gate failure rejects and restores the candidate.

    If the candidate wins, the existing HandlerChurn row may be strengthened to a deterministic mixed arbitrary/prefix pattern rather than adding another five-second row, so recurring CI time does not increase. Confirmation remains blocked on #500/#510; this is a local Mono screen only.

  12. wallstop commented on Sep 13, 2026

    @wallstop
    CollaboratorAuthor

    Baseline extension complete before the runtime candidate.

    Fresh restored-production PlayMode Mono, 9/9 tail-churn rows, 45.68 s:

    Cardinality operations/s allocations bytes map/order capacity
    1 441,515.410 20,000 3,920,000 0 / 0
    2 449,506.173 20,000 3,920,000 0 / 0
    3 437,551.903 20,000 3,920,000 7 / 4
    4 424,175.612 20,000 3,920,000 7 / 4
    5 432,745.980 20,000 3,920,000 7 / 8
    8 435,750.071 20,000 3,920,000 17 / 8
    9 426,464.956 20,000 3,920,000 17 / 16
    16 414,589.781 20,000 3,920,000 17 / 16
    64 371,921.926 20,000 3,920,000 89 / 64

    This is the declared arbitrary-removal baseline. The benchmark-only diff remains present locally while the candidate is tested; production is still restored at this point.

  13. wallstop commented on Sep 14, 2026

    @wallstop
    CollaboratorAuthor

    Result: indexed arbitrary removal rejected

    The preregistered dictionary-value order index experiment is rejected and fully restored.

    Baseline

    A temporary HandlerTailChurn row repeatedly removed and re-registered the physical tail handler, forcing restored production's arbitrary List<T>.Remove scan. The fresh baseline passed 9/9 in 45.68 s:

    • cardinality 16: 414,589.781 operations/s;
    • cardinality 64: 371,921.926 operations/s;
    • every row: 20,000 allocations / 3,920,000 bytes;
    • map/order capacities: 17/16 and 89/64.

    The temporary row was never added to recurring CI.

    Candidate and retained iterations

    The candidate kept the existing dictionary-plus-order-list layout. Its dictionary value held the existing Entry plus order index. Arbitrary removal scrubbed the indexed list slot in O(1); compaction repaired indices; prefix removal and remove/re-add ordering were preserved.

    1. Threshold-only tombstones retained throughput but grew order capacity to 128 at cardinalities 16 and 64. Results were 409,876.814 (-1.14%) and 383,158.347 (+3.02%). Capacity growth violated a hard gate.
    2. Compacting before an append would grow storage preserved capacity but compacted every tail cycle. Results collapsed to 146,976.433 (-64.55%) and 51,874.506 (-86.05%).
    3. Reusing a physical tail tombstone as the logical append slot preserved order and baseline capacities without compaction. Results were 418,900.854 (+1.04%) and 426,734.136 (+14.74%).

    All retained tail rows continued to report 20,000 allocations / 3,920,000 bytes. The final candidate focused contract suite passed 35/35, including O(1) arbitrary tombstoning, reference scrubbing, survivor order, index repair, remove/re-add order, fixed-capacity tail reuse, bounded prefix churn, clear/reuse, duplicate update, and the inline/spill boundary.

    Verdict

    The final representation produced a meaningful 64-entry tail-removal win, but cardinality 16 improved only 1.04%. The preregistered rule required every clean candidate run to exceed +3% at both 16 and 64. Because that target failed, broader dispatch/sequential-churn and full allocation suites were intentionally not run after the stop condition; no positive production claim is made.

    Do not adopt the extra index/padding and tombstone bookkeeping for a win confined to this high-cardinality tail shape. Revisit only with a materially different workload or representation.

    Restoration proof

    • Runtime, contract, and temporary benchmark diffs were reversed.
    • Csharpier restored canonical CRLF.
    • Tracked worktree is clean.
    • Fresh Unity reflection reports only _spillMap,_spillOrder,_spillOrderStart after inline fields.
    • Restored focused contract suite passes 33/33.
    • Editor is stopped/ready with zero error logs.

    No workflow, benchmark row, timeout, filter, or recurring CI duration changed.

  14. 429 remaining items

  15. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Prospective Windows AOT follow-up to the interpreter HashSet attribution. Question: how far does the retained Windows 6000.5.2f1 AOT code bind the same MarkDirtyType → HashSet<int>.Add → AddIfNotPresent → InternalGetHashCode path, and does it retain the generic box behind the interpreter finding? The hypothesis is that a concrete Int32 specialization can remove the generic null check and box. Freeze the current MessageBus blob, the archived BCL and emitted baseline C++ from #501. Inspect exact emitted entry points and types through the hash helper and compare with a shared or reference-type HashSet body as a control. If the actual retained #749 Windows x64 DLL/PDB expose an exact corresponding private procedure or inline site, independently bind its extent and machine-code edge. A missing edge, ambiguous receiver, or unbound optimization stops that native inference. Keep contradictory code as observed and qualify only the held type and branch. One bounded static inspection. No timing, new conversion, allocation counter, native execution, or production mutation. Evidence .artifacts/session-goal-502-windows-dirty-type/.

  16. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    The Windows AOT check found a concrete optimization for the one interpreter box attributed to HashSet<int>.InternalGetHashCode. The current and historical sources share MessageBus blob b082472722bf9b2cb4f67fe934c02c92c0cd14bc. Seven definitions rehash through the prior Windows converter inventory. The emitted MarkDirtyType passes _dirtyTypeSet and a concrete int32_t through Add and AddIfNotPresent to the hash helper. That helper omits the null-and-box test and invokes InterfaceFuncInvoker1<int,int>. Reference sharing retains a pointer null check, while the fully shared body uses the runtime would-box query. That query alone is not a counted allocation.

    The actual 6000.5.2f1 Windows x64 DLL and PDB from artifact 14107006380 rehash and agree on GUID/age. The SimpleUntargetedMessage public alias resolves to a shared 178-byte body with 312 matching private procedure records at that extent. It loads the verified _dirtyTypeSet field at +0x158 and calls the exact Int32 Add at +0x7E. Add tail-jumps at +0x12 to AddIfNotPresent. At +0x61, that body calls the exact private hash wrapper in .text. CodeView identifies the inlined specialized hash helper there. Both the wrapper and separately emitted specialized helper agree after normalizing relative branch addresses. The wrapper preserves the integer in EDI, restores it to EDX, and passes it directly through the typed comparer interface call at +0x8F. This establishes where the original generic box disappears on the inspected path.

    Capstone and LLVM independently reproduce all seven decoded byte ranges. The initial readers refused the shared dirty-type symbol when expecting a unique named procedure. The corrected observer requires exact public location, agreeing extents and an explicitly retained private alias. The refusals remain in the receipts. Evidence .artifacts/session-goal-502-windows-dirty-type/, qualification SHA-256 58efe28c634ac4ae4391acb9028a26e06d88dc8efbe6c3ff2371a2d6bb600006, checksum manifest 3596eba1a6a6fb9dbf79e26a2d2517e03c3a6ee60921a61020350d9e4b3acacc. The previous 35-allocation interpreter result stands. Current native allocation totals, downstream comparer behavior, retained storage and performance acceptance remain open.

  17. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    Prospective exact 4.0.0 allocation handoff refresh. The frozen released-versus-candidate fixture currently binds the 4.0.0 arm to archive 8302bcdcb0432ea54db51eea3cdee56714ac269ad2adf8d716e60146bb681463. The staged package for master 7461bdb has archive aa8b971ac9bbaf9555241638ad66eb5656c0ee856a715830f1ab55e7c9e0316d.

    Question and hypothesis. Can the independent profiler-enabled EditMode projects use the exact staged package while preserving the fixture, callback ABI, 3.3.0 package, dependencies and compiler inputs? Expect the only 4.0.0 tar member difference to be packaging metadata, with all 226 Runtime payload members identical.

    Rejection check. Reject the previous 4.0.0 tarball at the exact-candidate guard and reject any fixture, dependency, ABI, Runtime payload or compiler-input drift. Stop on extra changes or a failed replay.

    Acceptance. Verify both package identities and lock-free isolated projects after a relocated restore. Recompile the two warmed-churn fixtures with the retained Unity reference profile and check their original assembly bytes. Keep the existing positive allocation control, six 4,096-operation untimed windows, registration/delivery assertions, two version orders and result retention. Carry forward the original scope. No allocation measurements are implied by compile or package preparation.

    Evidence location: .artifacts/session-goal-4.0.0-allocation-handoff/.

  18. wallstop commented on Nov 24, 2026

    @wallstop
    CollaboratorAuthor

    The exact-stage allocation handoff passes its package, compile and restore checks. The guard rejected the older 4.0.0 archive. The 396-file comparison found only the package.json devDependencies change, with all 226 Runtime members byte-identical. Both arms replayed the retained Unity 6000.4.6f1 reference compilation with zero diagnostics and byte-identical fixture assemblies. Both restored projects retain the original manifests, fixture bytes, callback ABI selection, delivery and registration assertions, and Test Framework 1.7.0.

    Local companion to the 4.0.0 readiness handoff: .artifacts/session-goal-4.0.0-allocation-handoff/dxmessaging-4.0.0-allocation-projects.zip. All 18 members verified after relocation. Archive SHA-256 31172741085774d277b1829f5e86061399fb22cf805721839d32adefffb4ed41. The embedded 4.0.0 tarball is aa8b971ac9bbaf9555241638ad66eb5656c0ee856a715830f1ab55e7c9e0316d.

    Next evidence is the actual profiler-enabled Unity 6000.5.2f1 capture in both version orders, with the existing forced-allocation control and six untimed 4,096-cycle windows per arm. Allocations remain unmeasured in this refresh. Steady dispatch, retained memory and shipping-player timing have their own gates.

  19. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Replay the deregistration attribution diagnostic across three Release players

    I will compare the original H/B/B/H deregistration diagnostic in internal runs 45103955866, 45317077173 and 45537567670. The question is whether the same-path and excess-spread controls admit handler-over-bus attribution on the archived Unity 6000.5.2f1 Release players. The newest report shows handler drift beyond the original 3% limit. The two newest players share the staged Runtime tree.

    Require exact archive and job binding, consistent benchmark source, all eight original trial totals and preparation directions, the selected trial's four arm durations, agreement between result and player log, and exact replay of the reported pass or refusal. Preserve every refusal, including any disagreement in the independent calculation. This is a timing diagnostic without an independent confidence interval or a registration allocation measurement. Evidence goes under .artifacts/session-goal-502-release-attribution/.

  20. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Only one of three archived Release diagnostics admits timing attribution

    The exact provider archives for 45103955866, 45317077173 and 45537567670 match their earlier job, archive, player and cleanup receipts. The two benchmark files also match the staged candidate by source bytes. Every result marker matches its chronological player-log record. The replay preserves the eight trial totals and selects the minimum complete H/B/B/H trial in each player. The alternate trial, relaxed band and flipped verdict controls all reject.

    Run Selected zero-based trial Handler drift Direct-bus drift Handler-excess spread Interpretable
    45103955866 1 19.821% 1.137% 23.968% No
    45317077173 5 1.903% 0.400% 2.354% Yes
    45537567670 3 7.689% 0.437% 9.953% No

    The original 3% limits are unchanged. Direct-bus drift is within the limit in all three. Handler drift and handler-excess spread both refuse the first and last players. The only admitted center is 22.6958 ms per 131,072 teardowns. The last two players use the same staged Runtime tree, so the earlier pass cannot stand in for the later refusal. This diagnostic supplies no allocation measurement or candidate acceptance. Retain all three and run independently controlled handler attribution before ranking an optimization by this excess.

    Evidence .artifacts/session-goal-502-release-attribution/qualification.json, SHA-256 0a80604d224e1d4b0a974efc549836a37bec393fc8d2f3ad51e36a9fb93ee919.

  21. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The exact 3.3.0 and staged 4.0.0 allocation projects are rebound to master 1f691265 and staged tree fb64032f. Both vendor packages, fixture sources, assembly settings and test manifests match the previous packet byte for byte. Its 18-member verification changes only the run plan's source identity and the manifest checksum for that plan. The restored local archive is .artifacts/session-goal-native-host-packet-1f691265/allocation-projects-1f691265.zip, SHA-256 e3c890218343bf84a574386aae6fc67acfbb86540d335038d5d424a945144af1. Both version orders and native measurements remain due.

  22. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I isolated the frozen registration-handle change from cff5916b on the exact staged 4.0.0 package (aa8b971a…). It removes the unused secondary reference and preserves the former null hash step. The package source was restored after the trial. The runtime DLL was the only differing execution file.

    Across three fresh default CoreCLR processes per arm, six 4,096-operation windows per process consistently measured 360 → 352 bytes per warmed registration. Removal was zero, and both active and inactive warmed dispatch stayed at zero in their separate windows. The forced-allocation control measured 4,120 bytes. Both builds passed the same 3,410 registration, teardown and reclamation cases. The earlier 344-byte result combined this change with a separate binding specialization.

    The default processes each had 128 bytes in the third total window outside the per-operation reads. Both optimized-from-start controls reproduced the 8-byte reduction and measured zero outside the reads. The observation is consistent with an execution-mode effect and does not identify a precise allocator.

    The original 3.3.0 tarball failed the portable build on its Unity-specific dependencies. A direct version-over-version allocation claim still needs Unity. The candidate has no native allocation, lifecycle, or timing verdict yet. Receipt SHA-256 235286821ed01d74136aa0a3c43addf3b247f42c34e776bc10d2632266f71b40.

  23. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The exact staged 4.0.0 package and three controlled variants separate the unused registration-handle reference from the untargeted binding specialization. In 48 fresh ARM64 CoreCLR processes with fixed optimization, each change independently saved 8 bytes per warmed registration. Together they reduced 360 to 344 bytes (4.44%) on Action, FastHandler, and post-processor routes. Every arm measured zero bytes during removal and warmed dispatch in these fixtures. All four builds passed the same 5,519 registration, post-processing, diagnostics and teardown test identities.

    I rebuilt four Unity projects with the maintained FastHandler allocation fixture. The baseline tarball is byte-identical to the staged 4.0.0 package. Each experimental tarball has the same 396 paths and differs only in the declared runtime files. The native project archive restored successfully and has SHA-256 4422f7c75a9b020e7e916c13fffaef762c207055d7cfa67b73e0b15fc98a411c. The four-arm plan verifies the archive and tree for each project and preserves the six untimed allocation windows and cleanup. It covers FastHandler in Unity. The Action and post-processor results are portable only.

    Native allocation, lifecycle, timing and adoption verdicts remain due. Raw observations and the repeatable verification receipt are retained locally. Receipt SHA-256 66015d1895d7c83b3b3deae01b115726d5500a62eebc64950163287a24619cbc.

  24. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    The combined registration variant at tree 69b88a14c82b7a676af3230853aed5f6540d2f78 passed the complete current staged portable suite. The comparison matched every one of the 37,955 baseline test identities and outcomes. The three isolated processes reported 31,152 behavior, 5,789 retention, and 1,014 exhaustive passes, with no failures or skips. The loaded combined runtime matches the earlier four-arm trial.

    This completes the current portable differential sweep for the 344-byte candidate. Native Unity lifecycle, profiler allocations and timing remain due. The exact TRX comparison replays byte for byte. Receipt SHA-256 1d73f86dbc42ea4e0e921e45e7049ec5165b163e0f1ebed1b0b654d806376df7.

  25. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I screened the added casts along the sticky replay path using the same four staged runtime builds. The portable experiment uses six process blocks per Action and FastHandler route, alternating ordinary and replay windows in both counterbalanced orders. Each of the 48 fresh processes checked the retained value, replay delivery and removal. The timing covers warmed registration plus removal. Allocation measurement remained separate.

    The outcome is inconclusive. Across 96 within-process route groups, 94 exceeded 3% window spread. Ninety still contained a group above 3% when comparing windows with the same observed generation-0 collection count. The raw results retain conflicting directions and all collection counts. They cannot establish a sticky replay penalty, speedup, or equivalence for the specialization.

    The prior 360-to-344-byte allocation result retains its original scope. A controlled native sticky comparison remains due if the candidate advances. The raw captures and repeatable reduction are retained locally. Receipt SHA-256 959c3517f5d6286ad06ae2bb4beaf3ea1419055d56f576c61b17174d4ecd884e.

  26. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    I ran an identical-binary control after the inconclusive sticky timing screen. All 48 fresh processes used the same staged baseline executable, runtime and workload. Both affinity conditions covered both callback routes and both bracket orders.

    CPU affinity Within-process groups above 3% spread Identical-process replay/ordinary ratio pairs above 3%
    Unrestricted 47/48 9/12
    Pinned to one logical CPU 44/48 8/12

    Both conditions failed the original 3% reference. Pinning on this host did not qualify the method. No candidate ran in this control. Stop portable sticky timing with this setup and use an admitted native host for candidate timing. The prior allocation result remains separate. Raw captures and a repeatable receipt are retained locally. Receipt SHA-256 52dbfb5d08c6d2f97089bacc5becf13a33dcaefc9e41ae2c5314ff0d2171a99d.

  27. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    Prospective release-note check for the six-allocation claim. Baseline is the current Unreleased entry at 1f691265 and the original #432 Unity Mono measurement. RED is a release note that presents the six-call difference without its warmed measurement scope or its cache-retention prerequisite. GREEN is an Unreleased entry that preserves the measured number and names that scope, review against the original three retained rows and the current retention setting, and passing Markdown, strict site and protected PR checks. Stop if the claimed measurement or current cache behavior cannot be traced. New native allocation qualification remains separate. Evidence .artifacts/session-goal-release-allocation-note/.

  28. wallstop commented on Nov 25, 2026

    @wallstop
    CollaboratorAuthor

    #843 merged as 396b3a5e after all 28 head checks became terminal, the three required gates passed, OpenAI reported zero findings, and CodeRabbit approved. The changelog now ties the historical six-call reduction to warmed Unity Mono tests with handler-cache retention enabled. The original three path measurements and the current retention setting support this wording.

    The local 4.0.0 rehearsal carries the same entry into GitHub Release notes and Unity Package Manager version history. Of 396 UPM members, only the changelog and its package manifest mirror changed. The classic package has the same two changed payloads. The current package-only NuGet restore passes all 90 existing cases. The notes and package receipt SHA-256 is 1a00299ed742226a40bd50e003127887a08652bb2fafefb36c38661e8dea51b8.

    Existing native allocation acceptance remains open. This change qualifies the wording and staging. It adds no profiler measurements.

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