
| Category | Value (milliseconds) |
|---|---|
| Input delay | 80 |
| Processing | 50 |
| Presentation | 90 |
Illustrative calculation (not sourced observations). Synthetic staged timing from first input until next paint; sum = 220 ms. A single example is not an INP distribution or site assessment.
A reader taps Play. The poster does not change, so the reader taps again. A moment later the loading badge appears, then the clip begins. It is tempting to put the entire wait in a ticket called “video is slow.” That label leaves three teams free to improve three different things without any of them fixing what prompted the second tap. The player might already have been loading while the main thread was busy. The click handler might have delayed showing the badge. The browser might have taken a long time to draw it. Even after the badge appeared, the media still needed a first frame. These outcomes are connected, not interchangeable.
The useful starting point is the action a reader believed they performed and the response that would have shown the system understood. For Play, that could be a clear pending state followed by a first frame. For a contents disclosure, it is the list actually opening without an unwanted page jump. For a room transition, a suitable first response might be a visible movement toward the target or a clear loading state, followed by a scene ready to explore. Those response contracts give measurement a direction. A stopwatch number is useful only when the people fixing the page agree on what the stopwatch stops at.
This article uses imagined examples. None of the times below describe an actual Apiary deployment or benchmark. The worked chart is a tool for classifying time and choosing the next experiment. The method is intended for an ordinary editorial site that has gradually acquired richer interactions without acquiring a clear way to tell which decisions made them feel slower.
Define two finishes, not one
When a reader sees their press acknowledged, the page has cleared one hurdle. When the requested outcome becomes usable, it has cleared another. Keep both in view. If the player immediately reflects the request but the movie never starts, a successful acknowledgment is not a successful play. If the movie eventually starts after two seconds with no indication that the first press registered, improving the decode by one hundred milliseconds may do little to prevent repeat taps. An editorial team may have to fix both, with separate acceptance tests and separate owners.
Write the expected state change in terms a test can actually observe. “The handler returns” and “the state setter runs” are implementation milestones, not visible outcomes. “The play control changes to a pending state and remains operable when a request fails” is more useful. “The contents items are visible and focus has not been lost” can be checked on screen and through keyboard navigation. “The next room can receive input after an intentional transition, with no stale controls from the old room” is stronger than “the animation started.” Tests that assert these observable states will still be useful if a framework or player is later replaced.
Decide in advance what counts as a failure. Playback refused by a browser or unavailable media should produce an intelligible error and a retry path, not remain pending indefinitely. A disclosure that immediately opens the wrong section is fast but wrong. A gesture that paints motion on the wrong scene and snaps back after a valid release is not made acceptable by a good latency value. Instrumentation should support the behavior the page owes the reader rather than substitute a number for that behavior.
In a review sheet, put the intended action, required immediate feedback, required eventual outcome, and fallback in four neighboring columns. Add the conditions that could change how a reader makes the request: a keyboard press, touch, switch, or mouse; the first time through or a repeat; accessible motion settings; and whether critical assets are ready. Choose a small subset before recording so the experiment has a clear purpose. Having a plan that can be explained in one breath is more valuable than generating detailed recordings whose intended outcome nobody can remember.
Separate the three windows
The browser cannot necessarily start handling input when a person initiates it. For example, a busy main thread might be evaluating a script, laying out a large part of the document, or already running callbacks from another part of the page. The waiting time before eligible event processing begins is input delay. It generally cannot be fixed by shaving a few lines from the handler that has not yet started. In a trace, first inspect what was already underway when the interaction arrived. If a warm repeat is quick but the first attempt is delayed, look for work that runs only during initialization or immediately after the first content becomes visible.
Processing time is the next window. A control could be doing too much synchronously: construct a second large view, parse a response already in memory, compute scores the reader has not asked for, or document the complete interaction before updating the page. A short handler visible in the editor is not a reliable indication of low processing cost. It might dispatch into several listeners or a framework whose updates run before the event processing interval closes. Inspect the work that actually ran in that window, including delegated code. In a page with multiple events tied to one gesture, there may be more than one relevant entry.
Presentation time is the remaining window from event processing to the browser's next presentation for the timed span. It is not a synonym for “CSS is slow.” A handler could hand off heavy work that runs later, and the frame might be held up by additional JavaScript before rendering. Or the actual rendering could require broad style, layout, paint, raster, and compositing work. The existence of a short event callback says nothing decisive about this part. Inspect a trace before assuming the fix belongs in the stylesheet or the graphics pipeline.
The Google optimization guide sets out that three-part decomposition. The reason to write it in a notebook rather than just memorize the labels is that optimizations can move a delay across a boundary. Imagine a function rearranged to queue the same computation after its callback rather than perform it in the callback itself. If the queued work still runs before a frame is presented, the processing segment may shrink while presentation grows. A victory in one column is not a victory for the reader unless relevant paint or completion improves.
Some delays deliberately do not fit the three windows. A streamed video might be waiting for bytes after the browser has already displayed a correct pending state. A room can deliberately take time to animate after its first response. A pointer drag may need responsiveness throughout movement, not only on release. Record what matters after the first visible response separately. A page must not disable thoughtful transitions or good interaction patterns just to improve the single number that happens to be easiest to capture.
Read the example without inventing a benchmark
The figure accompanying this draft uses one hypothetical interaction with an input delay of 80 milliseconds, processing of 50 milliseconds, and presentation of 90 milliseconds. The three intervals add to 220 milliseconds. You could picture an input at 1,000 milliseconds on the page clock, processing beginning at 1,080, processing ending at 1,130, and a presented frame at 1,220. The particular start time has no significance. Shifting all four timestamps by a second leaves the intervals unchanged. The table gives the component values directly; the graph helps compare their size.
The 90 milliseconds of presentation is the largest piece in this single example; it is not a diagnosis. If the trace revealed the same rendering cost in similar attempts, that phase would merit investigation. If it instead showed one unrelated task, it could be a coincidence. If the page's main complaint is repeat taps during entry and the 80 milliseconds occur almost every time a visitor arrives, moving specific preexisting work can be more worthwhile than optimizing a one-off paint. The bars tell you where time was assigned, not what caused it or which opportunities repeat.
A useful sensitivity exercise is to ask which improvements could plausibly matter. An eight-millisecond speedup in the event callback would reduce the illustrated total to 212 milliseconds if everything else stayed fixed. If shortening an offscreen visual update genuinely saves 30 milliseconds of presentation, the arithmetic would make it 190. If removing a synchronous initialization task saves 45 milliseconds of input wait, the arithmetic would make it 175. These are conditional calculations, not forecasts. Removing a task can shift when a frame reaches a display opportunity; changing one phase may alter the others. The only way to substantiate any of those counterfactuals is to make the change and rerun a comparable experiment.
The synthetic sum is not a site score, and the reference link on the chart points to the method, not the data. The fact that 220 happens to sit above a recommended good threshold does not mean that this fictitious page has failed an assessment. A real assessment needs interactions from actual visits and a rule for selecting a visit-level value, then a rule for summarizing visits. Do not attach the report's status flag to the bar chart. Label it as a staged timing example and move threshold discussion to the field section of the report.
Also, resist saying that an experimental breakdown is exact to the last millisecond just because you can reproduce the subtraction. Browser timing can be rounded or coarsened, trace clocks and scripts need to be aligned, and a decomposition may be an approximation when inferred from exposed data. Giving a reader 80, 50, and 90 as exact invented numbers is fine; giving an engineer several decimal places for a residual computed from rounded browser entries suggests certainty the measurement did not earn.
Collect an entry without pretending it is the whole metric
The W3C Event Timing Working Draft describes entries for certain user interaction events. They expose relevant timestamps and, where applicable, an interaction identifier that links associated events. If you use these entries in a target browser, the difference between the reported processing start and event start approximates the wait to begin processing. The difference between processing end and processing start describes the measured processing interval for that entry. Comparing the duration with the elapsed time to processing end gives a residual estimate for the frame window. Use these values to locate a problem. Do not silently convert a residual into a measured duration of one specific rendering operation.
Build a small inspection tool locally before thinking about remote reports. The tool can keep one entry per row with the event name, its identifier, an internal action label, and the three derived intervals, then print the rows when asked. Check whether the browser even supports the relevant performance-entry type. A browser that does not expose it is an unsupported observation path, not a zero. The API and support may evolve, so check in the browser family and version used in the test. A versioned readme that names the instrumentation interface, clock base, and browser conditions is usually enough to understand an old result.
Event observation can filter out short events depending on the observer settings and implementation. A filtered row is not evidence that a button had no timing cost. Conversely, a long event with a zero interaction identifier is not automatically proof of a qualifying interaction. Preserve the original fields so a reviewer can see why you excluded or grouped an entry. If apparent presentation delay becomes slightly negative after arithmetic on coarsened data, treat that as a rounding and diagnostic issue, not as superhuman rendering. A display may show a nonnegative estimated residual while retaining raw fields for audit.
A single act by a reader can generate multiple eligible event entries. Do not add each entry's duration to estimate the length of the input, because their spans can overlap and they can refer to the same paint. For a trace, examine the cluster with the same meaningful interaction identifier, the event or frame relevant to the delay, and its surrounding tasks. If management wants the actual field metric, use a maintained implementation of the metric or a field data source; do not rebrand your local row logic as a compliant INP calculation. That separation makes it safe to iterate on local tools without rewriting the meaning of historical aggregates.
The action labels do not have to come from page text. A small controlled set such as play, contents, next room, previous room, and retry is far more useful. A target selector is often brittle across markup changes. A displayed heading or typed string can reveal interests or other personal information. In a local test fixture containing only invented material, extra context may be harmless, but it is a poor default for a real site. Put a reason for every production field on paper and avoid sending the field if a smaller vocabulary will answer the question.
Diagnose the first Play press
Use a fixture with a known clip and a predictable control state. Start off by making sure the button is enabled, focusable and usable when the poster appears. A play icon that looks available but has no listener yet is not a normal slow interaction; it is a readiness bug. Capture one attempt during startup and one after the page is settled. For each, look for the pointer or keyboard action, the first change to the player control, and the first playable frame or a failure. Keep the cache state intentional. Comparing a cold file load with a warm file load is instructive only if the report calls it that.
If a cold trace shows a long main-thread task before the click handler, the issue may be competing startup work. In a fictional reading template, recommendations far down the page might be initialized as the poster first becomes tappable. Deferring recommendation scoring, splitting work into smaller units, or preparing small data when useful rather than eagerly may shorten competition. Keep the recommended items available when the reader reaches them; a startup win that replaced recommendations with a permanent skeleton is a regression. Inspect whether the initial delayed task moved to another critical part of the journey rather than disappeared.
If processing dominates, follow the path through the click callback and beyond. Some applications create a whole player subtree or register a large pile of observers before requesting playback. Determine which work must actually happen before the page can communicate that it accepted the request. Do not defer essential operations blindly. Browser rules for unmuted media can depend on the activation context or change across browser setups. The correct diagnostic is to observe the outcome of the actual playback request in a supported browser, catch rejection, and verify keyboard as well as touch. A toast declaring success while playback fails is not responsiveness.
If the interaction is cheap to process but expensive to present, simplify the immediate visual response before replacing the entire player. The associated page might be inserting a complex poster overlay, replacing a large node tree, or promoting an unnecessarily expansive effect. Try a small state update on the existing control with enough contrast to be noticed. Check that the pending state does not displace captions or the button. A frame that shifts the button under the user's finger can create new interaction failures. A sober pending state and a responsive error are often better than a costly animated spinner with no reliable completion path.
Measure time to first useful video separately from time to initial acknowledgment. A local record could note media metadata availability, the event indicating ready playback, and the first frame observed or reported by a supported media API when appropriate. Network and decode vary across clip sizes and device hardware, and displayed media can differ from logical playback state. Keep the measurement names honest. “Playing event” and “first frame verified on screen” are not interchangeable. An editor can use a screen recording for confirmation even when engineering is collecting event times for diagnosis.
Consider failure fixtures as part of the test. A rejected play request should be distinguishable from waiting for data. A retry should be able to succeed, and navigation away should not let an old player's state update a new room. These failures can resemble latency when the control just sits there. Capture whether the user went away while it was pending, but do not label that outcome a performance regression without more evidence. A broken behavior path and a slow correct path call for different fixes.
Diagnose opening the table of contents
A contents panel is a valuable control because an editorial page can be useful without it but considerably easier to navigate with it. Test both expanding and collapsing. Suppose the collapsed panel takes a long time to expand only on articles with many headings. That points toward content-dependent work, but leaves several suspects. The code might scan and normalize headings at activation, build an enormous tree, measure each row, animate height, or update a sidebar in response to the same change. Inspect the timing window rather than inferring the cause from list length alone.
Start with two fixture articles whose heading lists differ meaningfully, without changing image size, article template, or server conditions. Use a short template and a long template only if their other differences are documented. Verify that common interactions work on both: press the disclosure, reach the first heading link, move to the section, return, and collapse. A list that opens quickly but leaves keyboard focus inside hidden content when closed is not a usable improvement. Include viewport constraints because an overlay clamped beautifully on a laptop can obscure the reading area at a small phone width.
A straightforward local experiment is to isolate markup construction from its visibility change. A prebuilt disclosure can avoid generating the entire outline on press; however, putting a huge tree in the document earlier could increase initial rendering work. Preparing a modest outline ahead of time and leaving the full article index accessible elsewhere may be a better trade than pre-inserting thousands of nodes. Use the site's content and navigation design to determine what is necessary. Keep the visible meaning intact even if you choose a different rendering strategy for oversized outlines.
If the culprit is layout, examine the order of geometry reads and writes in the trace. Code that sets a size and then immediately asks for a position inside a loop can cause more synchronous layout than code that measures first and mutates afterward. Simply assigning all responsibility to “the browser” will not tell you who owns that layout pattern. As an experiment, remove the height transition while maintaining disclosure behavior, then rerun. If the frame improves and a simple visual change preserves the design, there is a concrete option. If not, restore it and inspect the remaining work instead of treating the removed animation as a success.
A surprisingly slow contents panel sometimes exposes a general layout issue rather than a panel issue. The template might dump several widgets into a shared ancestor whose dimensions change every time the outline opens. Scope the updates so the reading column and unrelated graphics do not have to respond to a control they cannot see. Prove this behavior with a trace under comparable conditions. If the template relies on content shifts to reveal a panel, protect the visible reading position or give the reader a clear way to close it without losing their place. Preserving orientation belongs in the acceptance checks alongside the timing.
Diagnose navigation through the next-room gesture
Moving between immersive rooms adds a useful complication: a frame that confirms the user has started dragging is not the same as the frame that confirms a committed room change. Choose which parts to test. For example, demonstrate that a deliberate gesture produces immediate movement, that the next room is committed when the threshold and release conditions are met, and that the eventual scene can respond without dropped controls or accidental scrolling. A near-threshold drag that is canceled should preserve the current room. A separate next and previous button can make the same room state available without requiring a drag.
Ordinary scrolling and continuous pointer movement are not comprehensively represented by INP. A release or click may be timed while the critical fault is a series of missed gesture frames before it. Diagnose this with a recorded frame sequence and a trace of input, animation callbacks, and presentations. In one invented test, a room follows a finger smoothly until the images for the next room start decoding. The user lets go during that stall. The end result looks like a laggy release, even though the bottleneck begins earlier, and the duration of the release alone cannot describe it. Inspect the whole time strip rather than relying on a single marker.
List the work demanded by each rendered gesture frame. Layout or DOM updates on every motion event may be unnecessary if the immediate feedback can derive from the most recent pointer position on the next animation frame. A bounded visual update during movement is different from committing a route, writing history, building links, or loading media. Those operations may be necessary once, but not after every sampled movement. Experiment on a copy: do less during motion, ensure that the displayed position still follows the interaction, then verify that cancellation and keyboard equivalents reach the right destinations.
Preloading is a possible tool, not a universal answer. Preparing a likely neighboring room can make the transition more reliable after the reader chooses to enter it. Preparing every room while the first one is still receiving input can intensify the competition you were trying to avoid. The team should decide which assets belong to the current scene and which can wait. If media in another room is expensive, first acknowledge the accepted navigation and follow with graceful artwork or text that is available in the new view. Ensure that exposing an initial scene is not represented as “all interaction is ready” when it is not.
Test the transition at an end of the route, between two light rooms, from a light room into a heavy one, and through an interrupted movement. Check user preferences for reduced motion with a compatible visible state change. A snappier transition should not remove desirable interaction for users who enjoy it or force motion on users who prefer less. Separate accidental delays from intentional design time: a carefully chosen transition length should be evaluated as part of the journey, not treated as if every millisecond of it were spent waiting for an unresponsive page.
Make laboratory comparisons you can actually repeat
A recording should state what was fixed about the test and what was allowed to vary. A useful run sheet has a build identifier, page or fixture, browser and device, viewport, startup state, cache state, action, expected response, and whether instrumentation was active. For playback, distinguish network conditions from document readiness. For a long contents list, record which fixture was used. For a gesture, use similar movement and comparable direction. These details make it possible to find an explanatory difference without personally reproducing a colleague's entire computer setup.
Capture a small planned set of repetitions for the default conditions. Keep all attempts except clearly documented invalid runs, such as the tester doing the wrong action. Do not throw away slow attempts merely because they are inconvenient. If a trial automatically captures a repeated click after the first attempt failed, distinguish that in the record. It can be a second purposeful action, or it can be an artifact of the first control presenting no feedback. A good experiment can include a “repeat after apparent failure” scenario deliberately without contaminating the normal single-press measurements.
A controlled slow device or emulation profile can make a contention problem more visible. Treat that result as evidence for a mechanism, not a conversion factor to each reader's hardware. An emulator may behave differently from a real device when decoding media or compositing several layers. If you can, test both a representative real touch device and a repeatable development profile. Recording a trace itself can change performance. Compare relative explainer traces in like situations, and corroborate the visible experience with a simple browser run without profiling overhead.
Alternate the original and changed builds when practical, rather than measuring all originals on a cool device and all changes after a heavy session. The same issue can occur if every cold run is performed first and every warm run second. Where a reset is necessary, reset deliberately and record it. Note whether debug features, extensions, or other tabs are active. The goal is not to purge the device of realism. It is to make clear which environmental changes might explain apparent improvements.
When presenting lab results, put the small trial count and the individual observations where readers can see them. A median of seven attempts can help compare two controlled builds but its rounded presentation should not imply the precision of a large field study. A bad outlier may reveal the scenario you need, especially if it aligns with a reproducible task. There is no obligation to collapse the story into a single chart. One useful combination is a table of all local observations, a representative timeline with the action marked, and two lines explaining what did and did not change.
Keep field metrics separate from diagnostic samples
Google's Web Vitals documentation describes Interaction to Next Paint as a Core Web Vital for responsiveness and recommends assessing it at the 75th percentile, separating mobile and desktop. The recommended good value is 200 milliseconds or less. The optimization guide also distinguishes the greater-than-500-millisecond poor range. These ranges describe how to use the field metric. They do not convert a synthetic interaction or the maximum from a handful of lab traces into a report card.
Conceptually, INP selects an especially slow qualifying interaction as the visit-level signal, with treatment for outliers on very interactive visits. Then a field summary such as p75 is computed across visit-level observations. A single disproportionately active reader should not become dozens of votes in that summary just because they generated more button presses than everyone else. An all-click percentile is a different calculation. So is a p75 within each user's session followed by an average. When changing instrumentation, check that the collection procedure still represents the metric stated in the chart title.
Not every visit yields the same evidence. Some readers never use a qualifying control. Some browsers or page contexts cannot provide the same timing information. Some reports have insufficient volume to disclose a URL-level estimate. Write down what was measured, and note what was not. If a public dashboard shows only origin-level data for a small site, it may still be useful context, but an origin summary should not be cited as the isolated result for one article template. Fields of measurement are not magically filled by a single aggregate for the domain.
Suppose a site has field observations for just twelve eligible visits on phones after a change. Two unusually slow visits can matter to the readers affected and still leave leadership with insufficient evidence about a stable population percentile. Report counts, time windows, and page group definitions. Look for recurring complaint paths or supporting traces before pronouncing a broad trend. Avoid treating a change in device or page mix as a performance change, particularly when one article gets featured and brings in a very different audience. Narrowing or stratifying the cohort may be more illuminating than collecting a bigger unlabeled pile.
Be careful when splitting data. Segmenting by template and broad device category can uncover patterns that a single series hides. Splitting also makes each cell smaller, and small combinations might be too revealing about an individual. Set a publication rule for small cohorts before looking at results. Record absent cells as insufficient or unavailable, not fast. If a dashboard suddenly improves after browser support changes, review which visits it now includes before praising the latest release.
Diagnostic events for Play, contents, and room navigation can complement a field metric if collected within the site's privacy plan. Use a bounded, nonsensitive label for the action. Limit retention and avoid full target names, free text, precise browsing trails, or anything unnecessary to find the problem. If the site does not collect field telemetry, a local test and carefully worded user reports may be sufficient for a specific repair. An editorial site should not need to expand what it collects from readers just to prove that a particular duplicated callback was removed.
Decide what earns the next engineering hour
Rank candidate fixes by what happens to the reader, how often the experience occurs, how large the plausible benefit is, and how much evidence supports the mechanism. A player often forms part of a story's main promise. A menu that appears merely decorative may be the only route a keyboard reader can use. A missed frame during a rare transition is not equivalent to a button that visibly lies about whether it accepted input. Severity and coverage are more useful than ordering changes by the largest value in one timing table.
Use one measured baseline and one proposed change. If the main issue is input delay, isolate work that was already running before the event and ask why it shares the reader's decision window. If the problem is processing, trim synchronous work between event boundaries before redesigning everything. If the segment that grows is presentation, look at what must render immediately, what can wait until later, and whether unrelated tasks before the frame make it look like an expensive paint. This does not prevent broader redesign; it means redesign is earned by a diagnosis.
One fictional prioritization meeting might have three viable proposals. A recommendation panel steals time on the initial Play press, a large outline causes layout during disclosure, and a next-room gesture hesitates when two videos begin loading at once. The first and third may both benefit from delaying offscreen work, but they should still have separate acceptance criteria. Moving work away from startup must not move it straight into the first drag. Solving both requires a rule for when expensive work is appropriate, not just renaming every scheduled callback so it runs in a different position.
Make each fix small enough that a reviewer can explain its predicted effect. “Prevent two unrelated widgets from remounting when contents expands” is a hypothesis. “Optimize the site” is not. In a paired retest, ask whether the expected work disappeared from the targeted interval, whether the next useful visible response improved, and whether another measure got worse. Check load, visual stability, and eventual completion in addition to interaction acknowledgment. Speed brought by rendering the wrong state or by omitting essential functionality should not pass review.
Leave room for a negative result. Suppose removing an overlay animation does not improve presentation at all. It might show that the decisive work was an unrelated synchronous task. Restoring the original design and crossing off a hypothesis is a valid result. Record what the trace eliminated so that the team does not repeat the same experiment during the next release. Conversely, if a minimal replacement proves worthwhile but the subjective difference is hard to see, document the populations and conditions in which it actually helps rather than extending the claim to everyone.
Publish a result the next maintainer can trust
A compact internal record can contain an action contract, the exact build and fixture, device and run conditions, counts, a trace pointer, diagnostic timings, and the visual checks. Name the point at which the test started and stopped. Show which data are field observations, local measurements, or worked examples. Mark why a value is absent. A screenshot that proves the next room is open does not prove a time to get there, and a trace that shows a quick frame does not prove its content was correct. Where possible, pair the two forms of evidence.
Make the release test asymmetric enough to catch regressions. An initial Play press during startup should show accepted feedback and reach a first frame or responsive error. Opening the disclosure on a short and long article should show the right text without losing focus or place. Normal and canceled gestures should leave the correct state, and the button equivalents should still work. Add at least one scenario whose draw or load does not complete, because graceful behavior under delay is part of why measuring responsiveness mattered in the first place.
A repeatable review can be short. Reproduce the report; classify the delay; write the behavior you expect to preserve; change one candidate source; and rerun under matched conditions. Follow the field series afterward if one is available and suitable. State the limits: which browsers, device classes, templates, or audience conditions were not tested. Well-qualified evidence is not less impressive. It is easier to reuse because the next maintainer knows what needs checking again when the template or its readership changes.
The practical payoff is not another score to defend. It is the ability to hear “Play took forever” and ask the first useful technical question: did the page take too long to notice the request, to draw evidence of it, or to complete the thing requested? Answering that honestly means a faster design can also remain a usable, dependable one.
Sources
- Google web.dev, Optimize Interaction to Next Paint. Method reference for the timing phases and field-to-lab workflow. The chart numbers are synthetic and do not come from this guide.
- Google web.dev, Web Vitals. Core Web Vitals and the recommended reporting percentile and device segmentation.
- W3C, Event Timing API Working Draft. Event timing entry fields and interaction grouping; check target-browser implementation independently.