VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Websites | Separating First Input Delay from Interaction to Next Paint

Three secondary students review open books and notes together in a classroom.

A page can have a quick first click and still respond slowly later, or it can delay the first click while subsequent interactions are fast. This lesson keeps event time, processing start, processing end, next paint, interaction grouping and visit-level selection separate.

This lesson continues The Gold Standard of Websites, the Gold Standard of Education and the How X Works hub. Every timestamp, event sequence and percentile in the worked examples is an original teaching fixture. It demonstrates metric construction without claiming live measurements from a real service.

Keep the first input, every later interaction, input delay, processing time, presentation delay and visit-level summary in separate fields. A quick first delay cannot stand in for complete interaction latency.

The W3C Event Timing API defines first-input entries, event duration, interactionId and the observations from which FID and INP are derived.

THE GOLD STANDARD · WEBSITES

FID samples one first-input delay; INP summarises interaction latency

First Input Delay measures the waiting time before the browser begins processing the first qualifying interaction. Interaction to Next Paint groups event entries into interactions, uses the longest event duration for each interaction and summarises responsiveness across the page visit. FID stops at processingStart for one first input; INP reaches the next paint and looks beyond the first interaction.

Fast route
Start with the decisive rule.
Start this route

Measurement route
Build the browser evidence ledger.
Start this route

Comparison route
Separate the nearest lookalikes.
Start this route

Transfer route
Change the context and retest.
Start this route

Reporting route
State limits and continue reading.
Start this route

Chapter contents

Open the full chapter index

1. Give the short scope rule

FID is processingStart minus startTime for the first qualifying input; INP evaluates interaction duration through the next paint across a visit.

Original worked example. The first click waits 18 ms before processing, so FID is 18 ms; a later interaction lasts 240 ms through paint and can govern INP. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Move the slow interaction to the first click. FID records only its initial wait while INP records the complete interaction duration. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Record event start, processing start, processing end, next paint and interactionId. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep raw observations, lifecycle boundaries, calculations and conclusions separate so the first unsupported inference remains visible.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Contents · Next chapter

2. Build one event timeline

Input delay, handler work and presentation delay occupy consecutive parts of the interaction.

Original worked example. A click starts at 1000, processing begins 1024, ends 1080 and paints 1120 ms: delay 24, processing 56, presentation 40, duration 120. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Keep the delay but add 80 ms layout before paint. FID stays 24 while interaction duration rises to 200. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Preserve all four timestamps before subtraction. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not zero.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

3. Identify the first qualifying input

The first-input entry is tied to the first PerformanceEventTiming with a nonzero interactionId, not the first arbitrary browser event.

Original worked example. A pointerdown/click interaction is grouped and becomes the first input; an earlier passive movement is not substituted. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Add an earlier keyboard interaction. It becomes the first qualifying input. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Archive event name, interactionId and ordering. If this check fails, mark the claim unavailable and repair the method before continuing.

Repeat the reasoning after changing one consequential premise while holding every other field fixed.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

4. Group related events

One user action can generate several event entries that share an interactionId; treating each as a separate interaction inflates the sample.

Original worked example. pointerdown, pointerup and click share ID 41; the longest duration represents that interaction. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Split them across two user actions with different IDs. They now form two interactions. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Group by interactionId before ranking. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible alternative through the ledger and choose the next observation that separates it from the leading account.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

5. Use the longest event duration per interaction

INP construction uses the longest duration among entries in the interaction group.

Original worked example. Durations 80, 112 and 96 ms for ID 41 give interaction latency 112 ms. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Increase click to 168 ms. The group value becomes 168. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Keep component entries and chosen maximum. If this check fails, mark the claim unavailable and repair the method before continuing.

Write the expected result before checking the outcome, then preserve conflicts instead of smoothing them away.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

6. Look beyond the first interaction

FID cannot reveal slow controls used later in a visit.

Original worked example. The first menu opens with 12 ms delay; a later editor save takes 420 ms through paint. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Prewarm the editor so the later save takes 130 ms; FID is unchanged. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Exercise representative controls after initial load. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact sources, versions, calculations and receipts so another reader can reproduce the conclusion.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

7. Separate delay from total duration

A long interaction can begin promptly yet spend time in handlers, style, layout or paint.

Original worked example. processingStart minus startTime is 8 ms, but next paint arrives 190 ms later. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Move work before processingStart. Both FID and total duration change, but for different reasons. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Report delay and full duration side by side. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep raw observations, lifecycle boundaries, calculations and conclusions separate so the first unsupported inference remains visible.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

8. Handle visits with few interactions

A no-interaction visit has no FID or INP observation; unavailable is not zero.

Original worked example. A reader scrolls using compositor behaviour without a qualifying interaction entry. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Add one qualifying click. A first-input observation now exists, while a robust visit summary remains limited. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Track eligibility and missingness explicitly. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not zero.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

9. Respect duration thresholds and buffering

Observer thresholds affect which event entries are delivered, while the first-input mechanism has special exposure rules.

Original worked example. A 72 ms later interaction is omitted by a high threshold but the first input is still buffered. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Lower the observer threshold for future entries; do not pretend it reconstructs every past entry. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Save observer options and registration time. If this check fails, mark the claim unavailable and repair the method before continuing.

Repeat the reasoning after changing one consequential premise while holding every other field fixed.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

10. Separate field and laboratory evidence

INP is a field responsiveness metric; a scripted lab trace can diagnose work but is a controlled sample, not the same population summary.

Original worked example. Field p75 is 280 ms while one lab path measures 140 ms. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Extend the lab script to a slow dialog and reproduce 300 ms. The field distribution still remains distinct. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Label population, visit window and script. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible alternative through the ledger and choose the next observation that separates it from the leading account.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

11. Account for long-lived pages

Later route changes and repeated interactions can reveal latency that an initial-load test misses.

Original worked example. A dashboard is fast for ten minutes, then a growing DOM makes filters slow. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Reload between routes. The late slowdown disappears but the lifecycle changed. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Record visit duration, route and interaction count. If this check fails, mark the claim unavailable and repair the method before continuing.

Write the expected result before checking the outcome, then preserve conflicts instead of smoothing them away.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

12. Diagnose the longest interaction

Break the governing interaction into delay, event handling and presentation work before choosing a repair.

Original worked example. The 360 ms interaction has 20 ms delay, 90 ms handling and 250 ms presentation delay. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Optimise the handler alone by 40 ms. The interaction remains presentation-bound. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Use a trace aligned to the exact interactionId. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact sources, versions, calculations and receipts so another reader can reproduce the conclusion.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

13. Avoid percentile shortcuts

A percentile is selected from a visit population under a declared method; averaging FID and INP or averaging site percentiles is not a valid replacement.

Original worked example. Four visit INP values are kept as observations before a percentile is selected. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Change traffic weights. The site percentile changes without altering individual visits. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Preserve visit values, weights and selection rule. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep raw observations, lifecycle boundaries, calculations and conclusions separate so the first unsupported inference remains visible.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

14. Solve a changed interaction ledger

Vary first-input wait, handler work, paint delay and interaction order one at a time.

Original worked example. Five visits show equal FID with different INP, equal INP with different FID and one unavailable case. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Hide labels and reconstruct each metric from timestamps. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Require units, scope and eligibility. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable evidence is not zero.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

15. Repair responsiveness shortcuts

FID is not full first-interaction duration, INP is not average handler time, and neither identifies the slow code without a trace.

Original worked example. A report calls 14 ms FID proof that every control is responsive. Repair adds later interaction evidence. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Add one slow paint with prompt processing. Explain why only INP changes materially. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Audit every claim against metric scope. If this check fails, mark the claim unavailable and repair the method before continuing.

Repeat the reasoning after changing one consequential premise while holding every other field fixed.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

16. State limits and misconceptions

Event Timing covers defined interactions and browser presentation timing; it does not prove business success, accessibility or server correctness.

Original worked example. A button paints quickly but submits the wrong account. Responsiveness evidence cannot certify the transaction. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Repair server-side selection. The interaction metric remains a separate check. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Name claims outside the metric. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible alternative through the ledger and choose the next observation that separates it from the leading account.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

17. Write a reproducible responsiveness record

A reviewer should rebuild event groups and visit summaries from stored timing entries and observer settings.

Original worked example. Record R19 lists browser version, observer threshold, all interactionIds, component times and selected visit value. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. A deployment changes scheduling. Append R20 rather than overwriting the baseline. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Archive entries, traces, versions and analysis code. If this check fails, mark the claim unavailable and repair the method before continuing.

Write the expected result before checking the outcome, then preserve conflicts instead of smoothing them away.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

18. Use authoritative sources and continue the route

The Event Timing specification defines the observation model; companion lessons explain field/lab scope, frame clocks and visual stability.

Original worked example. Continue through those routes without using one metric as a substitute for another. The identifiers, timestamps and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. A future metric revision may alter selection details, so save the exact definition and date. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Store the standards URL and tested implementation context. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact sources, versions, calculations and receipts so another reader can reproduce the conclusion.

Before closing, reconcile the worked example against the chapter rule: identify the eligible evidence, recompute the result, test the changed condition, and mark the first unsupported inference. Preserve the original inputs beside the revised conclusion so another reader can tell what changed. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation or calculation would change the conclusion. This keeps the lesson useful when the browser state, observation window or implementation context changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents

Sources and further study

W3C Event Timing API. Used for the standard definitions, material mechanisms or method limits developed in this lesson.

The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying browser lifecycle, timing and measurement principles.

Return to contents · Return to The Gold Standard of Websites