Skip to content

perf(lynx): select capability-minimal compiled application - #361

Merged
Huxpro merged 2 commits into
huxcx/m3-auto-block-core-290from
huxcx/m4-main-thread-capability-payload-291
Sep 12, 2026
Merged

Huxpro merged 2 commits into
huxcx/m3-auto-block-core-290from
huxcx/m4-main-thread-capability-payload-291

Conversation

@Huxpro

@Huxpro Huxpro commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • select a capability-minimal compiled-program application only after complete paired program, semantic, and feature proof
  • paint and adopt the resident first screen directly, then use compact scalar updates and contiguous run teardown
  • carry page/global lifecycle on the lossless compact wire while preserving destroy tombstones and explicit-root fallback
  • tree-shake the general renderer, client driver, worklet/ref ownership, protocol receiver, and callback graph from eligible production bundles

Correctness

  • explicit createLynxRoot imports retain the proven Block core but fall back to the general multi-root application
  • non-production, incomplete, unsupported, opaque, or capability-bearing graphs fail closed
  • lifecycle preserves undefined, own proto, update/reset/replace behavior, global props, error reporting, and destroy-before-root semantics

Verification

  • Lynx: 57 files / 993 tests passed
  • Rspeedy plugin: 9 files / 95 tests passed
  • Octane: 471 files passed; 8,426 tests passed and one unrelated Vite HMR timeout passed independently in 2.37 s
  • repository-wide pnpm typecheck passed across 294 projects
  • pnpm sync, scoped typecheck, formatting, and diff checks passed
  • production table bundle: Web 184,108 B and Native 184,229 B; Web is 7.7% smaller than the 199,515 B pre-change candidate
  • order-balanced diagnostic FCP@0 versus ReactLynx: geometric mean 0.9735 (AB 1.0385, BA 0.9126); formal M4 campaign remains pending

Part of #291. Stacked on #360 until its Native gate is complete.

Select a proof-gated compact Lynx application, preserving public semantics through conservative fallback while removing general renderer/protocol ownership from eligible production products.

@github-actions github-actions Bot added the perf label Sep 11, 2026
@Huxpro
Huxpro marked this pull request as ready for review September 11, 2026 14:51
@Huxpro
Huxpro changed the base branch from huxcx/m3-auto-block-core-290 to main September 11, 2026 14:54
@Huxpro
Huxpro marked this pull request as draft September 11, 2026 14:54
@Huxpro
Huxpro marked this pull request as ready for review September 11, 2026 14:54
@Huxpro
Huxpro changed the base branch from main to huxcx/m3-auto-block-core-290 September 11, 2026 17:06
@Huxpro
Huxpro merged commit 805fd9e into huxcx/m3-auto-block-core-290 Sep 12, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant