Repository navigation
Description
The debt
Huxpro/lynx-js-framework-benchmark's methodology reports Native startup from the platform's own pipeline boundary: openTime → totalFcp.duration via Performance.getAllPerformanceEntries, validated against a producer receipt. Its METHODOLOGY.md then records: "Octane's custom renderer does not expose the same pipeline boundary in this Explorer build, so no featured Native Octane metric is reported." The benchmark is right to refuse private protocols — the fix is ours: Octane's Lynx renderer must emit the standard pipeline timing entries every other framework gets for free, so the black-box matrix can include us without patching anything.
This is the single unlock for #194 (device measurement round 1): without it, every device number stays archived private-protocol evidence instead of featured cohort data.
What to build
- Find the contract, not a lookalike. Establish exactly which pipeline events the platform stamps for a framework-driven first screen (
openTime,totalFcp, and whateverpipelineEndthe benchmark'ssettledreads), and who stamps them — if the platform stamps them from__FlushElementTree-adjacent internals, our direct first-screen path may already produce them and this issue reduces to verifying that; if the framework is expected to call a marking API (PerformanceObserver-visible pipeline entries,__OnPipelineStart-class hooks, or the timing option on flush), we call it at the equivalent boundaries. - Map our boundaries onto theirs honestly. Our first screen has two paths (direct applier; command-path fallback after a decline) and an adoption step. The mapping must hold on both paths, and adoption must not double-report a second "first screen". Where our architecture has no equivalent moment (no hydrate), we do NOT invent one — the entries we emit must mean what they mean for everyone else: open → first contentful paint of the pipeline.
- Verify against the consumer. Acceptance is not "entries exist": it is the benchmark's own Native adapter reading
openTime → totalFcpfor an Octane bundle in LynxExplorer withenable_perf_metrics, plus its two-frame producer-receipt validation passing. A local test pins that the entries appear exactly once per first screen on both paths, with the fallback path covered. - No timing games. The entries are stamped where the platform semantics say, not where they flatter us; the benchmark's cross-validation (producer receipt vs pipeline entries) exists to catch exactly that, and we should land on the honest side of it before anyone else checks.
Sequencing
Wanted before #194's device round runs at scale — Q1/Q2 can proceed on the private instrument, but featured cohort entry requires this. Independent of the C8/clause-1 work; touches packages/lynx main-thread paths only at the timing-mark level.
Activity
Huxpro commentedon Aug 26, 2026
Native adapter acceptance run completed against the current
new-lynxhead, and it does not pass #199 yet.Exact input:
07115d67d8a767a7586edb9ac8b1827300721a7b0cecf9236829a512fc954ce5b769ac817987fd5622429284312a6d7607d0c7ecaries_10, LynxExplorer,enable_perf_metrics=truePerformance.getAllPerformanceEntriespath as the other entriesThe engine did emit exactly one standard
loadBundlepipeline entry:openTime = 1787748254225totalFcp.duration = 123.659 mspipelineEnd = 1787748254348.659lynxFcpandtotalFcpwere presentHowever, that entry was a false positive for a successful first screen. The required
lynx-native-startup-v1producer receipt never appeared, so the adapter waited 45 seconds and retained the cell as DNF with no FCP/settled value. Reading the exact DevTool client/session afterward showed the actual cause on both runtimes:This validates why acceptance must remain “pipeline entry + two Native frames + semantic producer state,” not merely “entries exist.” The standard platform entry is already stamped, but the tested app did not complete a verifiable first screen.
There is also no current test/fixture evidence for the two paths required by this issue: the clean
new-lynxbenchmark bundle did not expose the versioned producer receipt, so direct vs command-fallback and adoption/no-double-report could not be accepted.Required before retest:
MessageChannelglobal (or establish the correct supported transport primitive/build target);new-lynxfixture;openTime → totalFcp,pipelineEnd, two frames, and semantic row state to agree.No Native number was published or substituted with the private ACK metric.
Huxpro commentedon Aug 28, 2026
Upstream execution result: octanejs/octane#886 is open as an independent Draft (one commit from upstream main; no codec/program/adoption implementation). Its production build, fixture tests, focused Lynx tests, full four-shard upstream suite, typecheck, format, sync, changeset check, and remote CI are green.
Exact-device acceptance did not pass, and no number is published:
sha256:5f7646aca90fab3a6be72ec756018676f59b13bcf1d7649bb6d782f167b1a015was fetched and opened in LynxExplorer, but this installed image returned zero performance entries.vue-vdombundle and an archived Octane control, so this is not evidence that upstream Octane needs to stamp its own entry. The Vue control still emitted a valid versioned two-frame/semantic receipt.0fc84da0control still emitted its historical commit ACK and two frames on this device. Current upstream D2 installs the semantic snapshot butroot.render()never acknowledges, both alone and with the independent transport-codec commit applied in a disposable acceptance build.Thus the two blockers are separate: the current Explorer image does not expose the engine-owned pipeline entry seen in the earlier #199 run, and current upstream's first-screen/background handoff does not complete the receipt boundary. The latter may enter the program/adoption work excluded from this upstream contribution. octanejs#886 remains Draft; it adds no synthetic/duplicate timing marker and substitutes no private ACK metric. The chronological conflict record, including the falsified codec hypothesis, is on #232.