Browser keyboard event delay

Check how much time passes between a keyboard event’s browser timestamp and this page handling it. This helps inspect delays inside a browser session; it does not time your finger, switch or display.

Substantively updated: Project methods & corrections

Private. In your browser.

Browser keyboard event delay

See how quickly this browser handles your keyboard events.

Average handler delay—ms
95th percentile—ms
Samples captured0
Click here to start testing
Give your keyboard a little check-up.

Press different keys at a steady pace. Each fresh key press adds one sample.

RECENT SAMPLES— ms
Your samples will appear here as you type
EarlierLatest

This measures the time from the browser event timestamp to this page’s event handler. It includes browser scheduling, and cannot measure total hardware, USB, Bluetooth or display latency. Charts and statistics retain the latest 300 samples.

Worked example

Illustration only Not a recorded test or hardware benchmark

Read a timing spike without blaming the switch

Keep the tab visible and make separate presses. The example below supplies event timestamps and handler times in the same browser clock; these are invented values for explaining the calculation.

Read a timing spike without blaming the switch
Action or inputIllustrative observation
Event 1: timestamp 1,000 ms; handler 1,002 msScheduling delay: 2 ms.
Event 2: timestamp 1,010 ms; handler 1,013 msScheduling delay: 3 ms.
Event 3: timestamp 1,030 ms; handler 1,050 msScheduling delay: 20 ms.

What this means

The average is 8.33 ms. To get the 95th percentile, sort the samples and select rank ⌈0.95 × 3⌉ = 3, which gives 20 ms. With just three samples that value is the maximum. Compare the sample counts as well as the percentiles.

Avoid this conclusion

The page has no physical switch-actuation timestamp. These numbers do not separate USB, Bluetooth, switch debounce or display response, and there is no universal hardware pass threshold.

Continue the check

Compare behavior outside the browser

Collect 30 separate taps of the same key with the same connection. Save the CSV, reset, close a busy tab and repeat. If the symptom appears in other apps too, check the connection and macOS input settings.

Make two comparable rounds

Focus the capture area, tap and fully release the same ordinary key several times, then save the CSV before resetting. Repeat in the same browser with the same key and connection. Change one condition at a time, such as closing a busy application, and write down what changed. A comparison with a different browser or device also changes the measurement environment.

Read the delay, average and 95th percentile

Each accepted sample subtracts the normalized event timestamp from the handler’s performance.now() value. The average describes the retained samples; the 95th percentile is a value at or above most of them. With a very small sample, one delayed event can dominate both. Neither number supplies the missing physical switch-actuation time.

Decide what a spike warrants

If spikes occur only in this page, first compare a quiet browser session and another application. If input feels delayed in multiple applications too, use the troubleshooting guide to check connection and input settings. A 0 ms result means no delay was resolved by these browser clocks; it does not establish zero hardware latency.

Keep the scope of the saved data clear

The chart, summaries and CSV retain the latest 300 samples, while the captured-sample counter continues counting the session. Download before reset if you need a comparison. Browser privacy settings can round timestamps, so extra decimal places are not evidence of greater physical accuracy.

Sources and further reading

Official documentation supporting this page’s explanations and service disclosures.

Mac keyboard test, explained.

About the test, your keyboard, and that one key that won’t light up.

More answers
Can this rank USB and Bluetooth keyboard latency?

No. It has no independent time for a physical press and cannot isolate the keyboard, transport, operating system or display. Repeated rounds can document browser event handling under stated conditions, rather than certify which device is faster.

Why are some delays 0 ms or identical?

The browser can reduce timestamp precision, and a short delay may round to zero or the same value. The tool also rejects unusable timestamps. Compare the observable pattern and conditions instead of interpreting each decimal as hardware timing.

Get to know your keyboard a little better.

From missed keys to double taps. Find the right Mac keyboard test for the job.

Your keystrokes stay on your Mac.

Tested in your browser. No accounts, no keystroke uploads, no fuss.

Our privacy promise