Performance measurement
Performance measurement separates startup, steady-state work, and user-visible response time. One fast average can hide expensive first visits.
What it is
Performance measurement separates startup, steady-state work, and user-visible response time. One fast average can hide expensive first visits.
Why it matters
Downloading, parsing, compilation, computation, and rendering all contribute to waiting.
Example
Report a cold first visit separately from a warm cached visit, and include p95 query time across varied inputs.
Technical detail
Use monotonic performance timing for durations. State device, runtime, sample count, cache state, and percentile method.
When to use it
Compare equivalent workloads and include failed requests. Optimize the measured bottleneck before adding a new runtime.
Go deeper
Sources
More in Web platform
Assembled from the ReLU.chat curated knowledge base. These explanations are concise on purpose; check the sources for anything important.