Interactive Exhibit Latency: Separate Input, Processing and Display Delay
A visitor touches an interactive exhibit and waits for the screen to respond. The delay feels like one event, but several stages sit between the gesture and the visible change. The input device must register the action, software must process it, and the display must present the result. Measuring only the middle stage can produce an impressive number while leaving the visitor’s experience unexplained.
For a small cultural installation, a clear timing worksheet is often more useful than a vague promise of instant interaction. It helps a designer, developer and curator discuss the same problem without confusing a software timestamp with the moment a person actually sees a response.
Choose a start and an end that match the question
“Latency” needs two endpoints. A software-processing measurement might begin when an event handler starts and end when its calculation finishes. An interaction measurement might begin when a finger touches a sensor and end when the screen visibly changes. These intervals overlap, but they are not equal by definition.
Write the endpoints before collecting numbers. If the start is “button pressed,” explain whether that means physical contact, an electrical transition, or a browser event. If the end is “display updated,” explain whether it means a rendering command was issued or light on the screen actually changed.
This wording matters during commissioning. A developer can improve a calculation that takes too long, but cannot diagnose a display delay from a log that stops before display work begins. The measurement should expose the stage being discussed rather than silently exclude it.
Use a duration clock for durations
A wall clock answers what time it is. A duration clock answers how much time passed between events. The W3C High Resolution Time specification describes monotonic timing facilities that avoid changes caused by adjustments to the calendar clock. In browser work, this distinction is relevant when comparing timestamps from the same timing context.
Do not subtract numbers merely because both are labelled milliseconds. They may have different origins. A timestamp measured since a page’s timing origin is not automatically comparable with one measured since an operating system started or with a calendar timestamp. Record the origin along with the unit.
For a worksheet, use one clock for each internally measured interval wherever possible. If separate devices supply measurements, document how their timing was aligned and what uncertainty remains. An extra decimal place does not repair a mismatch between clocks.
Read a fictional interaction timeline
Consider an invented timeline in which a physical action occurs at 0 milliseconds, software receives it at 12, the calculation finishes at 20, and the visible response appears at 42. The measured stages are therefore 12 milliseconds before receipt, 8 milliseconds of calculation and 22 milliseconds between calculation completion and visible response.
| Event | Time from physical action |
|---|---|
| Physical action | 0 ms |
| Input received by software | 12 ms |
| Calculation complete | 20 ms |
| Visible output detected | 42 ms |
The complete interval is 42 milliseconds. Reporting only the 8-millisecond calculation would answer a narrower question. It would not make the other stages disappear. Conversely, the total alone would not tell a developer which stage deserves attention.
The last event requires evidence of visible output. It cannot be filled in from a software callback merely because that callback has a convenient timestamp. Keep an unmeasured endpoint marked as unmeasured until an appropriate observation supplies it.

A rendering callback is not a light detector
The browser’s animation system helps coordinate drawing work, but its callbacks have a specific meaning. The MDN documentation for requestAnimationFrame explains that the callback runs before a repaint. That makes it useful for scheduling visual work; it does not turn the callback timestamp into a direct measurement of photons leaving a screen.
A log can still be useful if labelled accurately. “Time until the animation callback” tells a reader what was observed. “Time until the visitor saw the image” adds an unsupported endpoint unless the measurement includes that event. A careful label preserves the value of the software measurement without enlarging its scope.
Also distinguish a single response from repeated animation. A continuously animated installation may have smooth motion while occasionally responding slowly to input. Measuring one property cannot stand in for measuring the other.
If the exhibit also plays sound, give that output its own endpoint. A visible change and an audible response may not arrive together. Reporting their difference can be useful for a work in which synchronisation is part of the experience. Do not average the two into a single response time that describes neither output clearly.
Keep variation visible
Suppose five fictional response times are 38, 39, 40, 41 and 92 milliseconds. Their mean is 50 milliseconds, while their median is 40. Both calculations are correct. The difference tells you that one slow observation has a substantial effect on the mean.
For a short demonstration, show the individual observations as well as a summary. For a larger evaluation, state which summary was chosen and why. If a report emphasises typical behaviour, also consider how it represents occasional delays that a visitor may notice. Do not discard the slowest values simply because they make the installation look less consistent.
Record the conditions beside the observations: device, browser, content version, display and whether other work was running. A revised exhibit that loads additional media is a different test condition. Comparing its timings with an earlier version requires that change to be visible in the record.
Turn the timing record into a useful decision
A practical review asks which stage contributes most to the problem being observed. If the calculation is brief but visible output arrives much later, optimising that calculation alone may produce little improvement in the complete interaction. If receipt varies widely, investigate the input path before assuming that a visual effect is responsible.
Make one change at a time where feasible, retain the previous measurements, and describe the comparison in ordinary language. “The calculation became shorter under the same test conditions” is easier to evaluate than “the experience is now faster” when only one stage was measured.
This habit transfers well to scientific visualisation. An optical sensor also has an event, a measurement system and an interpreted output. Keeping those stages separate is the foundation for understanding fluorescence ratios and, later, peptide sensors that translate molecular cleavage into a visible signal.







