Skip to content

perf(lynx): prune unused compiled host refs - #393

Merged
Huxpro merged 2 commits into
new-lynxfrom
huxcx/m4-no-host-refs-291
Sep 15, 2026
Merged

Huxpro merged 2 commits into
new-lynxfrom
huxcx/m4-no-host-refs-291

Conversation

@Huxpro

@Huxpro Huxpro commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • select a host-ref-free compiled-program runtime only when every paired compiler ledger proves the production entry has no authored host refs
  • fail closed for development, watch, general runtime, missing/incomplete ledgers, and any host-ref-bearing entry
  • erase host-ref wire fields, attachment queues, selector handles, run metadata, ref rows, codecs, and delta handling from the selected graph while retaining full behavior elsewhere
  • add decoded production-artifact checks, feature-owner verification, runtime boundary coverage, and a reproducible complete-bundle ledger

Evidence

  • baseline: 36b63e38a2480b72e0a0aa4f99ad5b18717c4474
  • production automatic Web: 233,029 B → 224,742 B (-8,287 B, -3.56%)
  • production automatic Lynx: 232,593 B → 224,349 B (-8,244 B, -3.54%)
  • decoded host-ref-free native artifact contains the fail-closed unsupported marker and excludes the full REF-RUN/attachment diagnostics
  • full host-ref fixture continues to build and exercise the retained implementation

These are shipped-byte results, not runtime-performance claims. Paired AB/BA runtime acceptance remains tracked in #291.

Validation

  • pnpm exec vitest run packages/lynx/tests packages/rspeedy-plugin-octane/tests --silent=false (91 files, 1313 tests)
  • pnpm --filter @octanejs/lynx typecheck
  • pnpm sync
  • pnpm format:files:check
  • git diff --check

Prunes compiled host-ref machinery only from compiler-proved host-ref-free one-shot production Lynx applications, with fail-closed selection and complete artifact/test evidence.

@Huxpro

Huxpro commented Sep 15, 2026

Copy link
Copy Markdown
Owner Author

Adjacent-baseline Lynx-for-Web diagnostic completed after current-head CI went fully green.

  • candidate: ee799d33c2c5488ec218de047421120641d2591d
  • adjacent baseline: exact Stabilize dense mount profile attribution #392 merge head 36b63e38a2480b72e0a0aa4f99ad5b18717c4474
  • production automatic 0/1k/10k bundles, Chromium 149, JIT, no throttle
  • one AB and one BA session; 3 observations/arm/cell; 230 records/session; 0 DNF and 0 failures
  • session-paired point geomean: interaction 0.9948, startup 0.9825
  • raw SHA-256: 0c2e7fb534c3afd6440d52177df30029f3fdec2b2fcb10b54a120ed0f394a6c8 (AB), b2510f266ccebe33cbcc5cb71828cb976064d3b727d06c5bd0e499af1310bcf2 (BA)

This was an intentionally dirty local diagnostic entry and only two sessions, so it is not a qualification result and supplies no confidence-bound claim. Its purpose was to reject obvious runtime regressions before merge; none appeared. Formal evidence remains governed by #291.

@Huxpro
Huxpro merged commit 74e69ba into new-lynx Sep 15, 2026
28 checks passed
@Huxpro
Huxpro deleted the huxcx/m4-no-host-refs-291 branch September 15, 2026 18:08
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