Skip to content

Audit layout stability signatures, measure cache, and perf invariants#64

Merged
RtlZeroMemory merged 4 commits into
mainfrom
layout-stability-polish
Feb 17, 2026
Merged

Audit layout stability signatures, measure cache, and perf invariants#64
RtlZeroMemory merged 4 commits into
mainfrom
layout-stability-polish

Conversation

@RtlZeroMemory

Copy link
Copy Markdown
Owner

Summary

  • fixed layout stability signature hashing for missing layout-affecting props on supported kinds
    • stack/box side margins: mt, mr, mb, ml
    • box side border toggles: borderTop, borderRight, borderBottom, borderLeft
  • expanded layout stability signature coverage with deterministic cases for:
    • layout-relevant prop inclusion
    • style-only prop exclusion
    • text/content and child-structure changes
    • determinism, unsupported-kind conservative fallback, and edge signatures
  • expanded deterministic measure-cache coverage for constraint keying, axis isolation, cross-pass reuse, identity misses, edge constraints (0, Infinity, negatives), and selective-path reuse
  • added deterministic perf-invariant tests for:
    • linear traversal behavior
    • signature-gated layout skip behavior
    • affected-path remeasure behavior with shared cache
    • splitPane proportional-work invariants
    • deep nesting safety
  • documented Layout Stability & Caching behavior and invariants in docs/guide/layout.md

Validation

  • npm run build
  • npm run typecheck
  • node scripts/run-tests.mjs

All commands pass on this branch.

@RtlZeroMemory
RtlZeroMemory merged commit cfb1623 into main Feb 17, 2026
24 of 25 checks passed
@RtlZeroMemory
RtlZeroMemory deleted the layout-stability-polish branch February 19, 2026 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant