coderef

Event timing performance entriesBaseline · Newly available

An event or first-input performance entry measures the latency of user input events, such as mouse clicks or keypresses. They're used to calculate interaction to next paint (INP), a common metric for perceived responsiveness.

Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Dec 12, 2025.

Browser support

DesktopChrome
1–75Not supported
76+Supportedsince Jul 30, 2019
Current: 155
Edge
12–18Not supported
79+Supportedsince Jan 15, 2020
Current: 154
Firefox
1–88Not supported
89+Supportedsince Jun 1, 2021
Current: 157
Safari
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27
MobileChrome Android
18–75Not supported
76+Supportedsince Jul 30, 2019
Current: 155
Firefox Android
4–88Not supported
89+Supportedsince Jun 1, 2021
Current: 157
Safari iOS
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27

How to use

Every current browser supports this, but it only became Baseline on Dec 12, 2025. Use it as a progressive enhancement, or keep a fallback if you support older devices.

Example

Full syntax and examples are on MDN: EventCounts.

Feature detection

JS · check before using
if ("PerformanceEventTiming" in globalThis) {
  // PerformanceEventTiming is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (17). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
EventCounts85858926.2858926.2
EventCounts.@@iterator85858926.2858926.2
EventCounts.entries85858926.2858926.2
EventCounts.forEach85858926.2858926.2
EventCounts.get85858926.2858926.2
EventCounts.has85858926.2858926.2
EventCounts.keys85858926.2858926.2
EventCounts.size85858926.2858926.2
EventCounts.values85858926.2858926.2
Performance.eventCounts85858926.2858926.2
PerformanceEventTiming76798926.2768926.2
PerformanceEventTiming.cancelable76798926.2768926.2
PerformanceEventTiming.interactionId969614426.29614426.2
PerformanceEventTiming.processingEnd76798926.2768926.2
PerformanceEventTiming.processingStart76798926.2768926.2
PerformanceEventTiming.target85858926.2858926.2
PerformanceEventTiming.toJSON76798926.2768926.2