Skip to content

[lynx-perf-s2 0] Stage decomposition: attribute FCP and create before cutting (go/no-go instrument) #16

Closed

Description

@Huxpro

Part of the [lynx-perf-s2] code-staged roadmap (sequel to #9; umbrella issue to follow). This lands first and gates everything after it — the S1 receipts proved that wall-clock attribution guesses miss layers (wire≠create, validation≠FCP, ack≠tail), so S2 does not cut until the segments are measured.

Scope (one PR)

Instrument (dev-only or build-flag, never in default prod output) the two target paths and land the numbers:

  1. FCP@10k four-segment attribution on the rig app, Lynx-for-Web, quiet host, interleaved A/B protocol (n≥5, medians, same window):
    • (a) MT slice evaluation (script parse+eval before first render call)
    • (b) plan interpretation (the renderPlanNode/plan-expansion walk)
    • (c) PAPI element creation
    • (d) layout/flush
  2. create@10k five-segment attribution: BG replay / wire (clone+transfer) / MT expand (interpretive stamping of instantiate) / PAPI / layout.

Deliverables: the instrument (reusable, committed under benchmarks/), a documented quiet-host protocol, and a segment table recorded in the umbrella issue.

Why this exists

Constraints

Acceptance

  • Reproducible segment tables (FCP + create) committed to the umbrella, with host disclosure and n/spread.
  • A written go/no-go verdict per downstream step (s2-2/s2-3/s2-4) derived from the shares.

Activity

  1. added
    enhancement
    on Aug 9, 2026
  2. Huxpro commented on Aug 11, 2026

    @Huxpro
    OwnerAuthor

    Live-main audit (2026-08-11): COMPLETED as an observation task by Hux PR #22. Its original instantiate-expansion boundary is superseded by octanejs#693/octanejs#700 template ingress; the local Hux evidence branch has been rebased to upstream main and the stage probe now measures current incremental template-run validation/freezing. Closing the old fork issue.

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

    agent-authoredenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions