Free hardware diagnostics · 100% browser local · zero uploads
Keyboard Delay Test: Key Dwell Time, Inter-Key Latency & OS Repeat Rate
Measure exact keydown-to-keyup dwell duration (Min, Median, P95, Max ms), inter-keystroke latency, and operating-system auto-repeat delay and rate.
Interactive keyboard workbench
Stored only in your browser and optional #k= share links (up to 80 graphemes).
Tap keys for Dwell Time (keydown→keyup), or hold a key for 1.5s to measure OS Repeat Delay & Rate.
Keyboard diagnostics and live telemetry
Input Delay (ANSI 104)
0.0 ms median dwell (0 samples)
| # | Code | Dwell | Inter-key | Type |
|---|---|---|---|---|
| Tap or hold keys (or use the Tap & Hold Pad) to measure dwell and OS repeat timing. | ||||
Windows ANSI (104) Diagnostic Report
Coverage: 0 / 104 (0.0%) · Peak KRO: 0 · Chatter (<15 ms): 0 (export CSV for full 104-key matrix).
| Code | Legend | Presses | Chatter | Status |
|---|---|---|---|---|
| 0 of 104 layout keys pressed yet; press keys or click Try sample before printing. | ||||
Keyboard Test · 1-page hardware verification summary.
All KeyboardEvent captures, performance.now timings, Web Audio switch synthesis, CSV exports, and 1-page print reports run locally inside this tab. Share links keep settings strictly after the hash.
What keyboard input delay metrics tell you in practice
A single millisecond number cannot capture how responsive a keyboard feels under real fingers. Every physical stroke spans at least two distinct phases: Dwell Time (the duration from keydown actuation until keyup release) and Inter-Key Latency (the time elapsed between consecutive key presses across words or rapid rhythm sequences).
For competitive rhythm games, movement counter-strafing, and mechanical switch evaluation, consistent low dwell times (often 35 ms to 95 ms on light linear switches) indicate crisp actuation and clean spring return. Large spikes in the 95th percentile (P95) or Max dwell readout frequently point to overlubed stabilizers, sticky keycaps, or worn rubber domes lagging on rebound.
Measuring OS Repeat Delay and Repeat Rate separately
Hold any single letter or arrow key down for one second without releasing it. Your operating system waits through a fixed Repeat Delay (commonly 250 ms to 500 ms on Windows and macOS) before firing steady synthetic repeat events (typically 25 to 33 keys per second). This page separates initial physical actuations from OS repeat bursts automatically so hold tests never skew your physical dwell percentiles.
On mobile screens or when verifying behavior without a physical keyboard, press and hold the Tap & Hold Pad (supports pointerdown to pointerup timing) or click Run sample delay trace to populate realistic dwell and repeat telemetry ready for CSV export.
- Dwell Time (Hold ms): elapsed time from keydown (repeat false) to matching keyup on the same physical key.
- Inter-key Latency (ms): gap between two consecutive fresh keydown events up to 5000 ms.
- OS Repeat Delay (ms): elapsed time from initial keydown until the first repeat equal true event fires.
- OS Repeat Rate (keys/sec): frequency of subsequent repeat equal true events while a key remains held.
Frequently asked questions
Does this page measure physical electrical latency inside USB cables?
No browser page can directly measure external wire or MCU scan latency without an external hardware photodiode or logic analyzer, because the browser only sees timestamps when events enter Chrome or Safari. Instead, this keyboard delay test accurately measures keydown-to-keyup dwell time, inter-key cadence, P95 hold variance, and OS auto-repeat timing.
Why does my P95 dwell time jump higher than my median?
The 95th percentile captures your slowest 5 percent of key releases, which commonly occur on heavier stabilized keys such as Space, Shift, or Enter—or when a sticky switch stem hesitates on the upstroke.
How do I test OS Repeat Delay and Repeat Rate here?
Press and hold any alphanumeric key for about 1.5 seconds inside the test workbench. The first repeat event calculates your OS Repeat Delay in milliseconds, and continued repeats update the Repeat Rate in keys per second.
Keyboard diagnostics in this workbench
Every tool shares the same local KeyboardEvent engine, zero-upload privacy boundary, CSV diagnostic exporter, and single-page print stylesheet.
Specifications & engineering notes
All key codes, rollover classes, dwell percentiles, and switch debounce rules follow public browser and USB HID standards.
- W3C UI Events KeyboardEvent & code Specification — Physical key code mapping (KeyA, Digit1, IntlBackslash, Numpad0–9), location flags (Standard, Left, Right, Numpad), and repeat tracking.
- USB HID Usage Tables & Boot Keyboard Protocol — 6-KRO boot report limits versus full N-Key Rollover (NKRO) extended HID descriptors and 125–1000 Hz frame intervals.
- W3C High Resolution Time & Web Audio API — Sub-millisecond performance.now() interval sampling and offline oscillator/biquad-filter acoustic synthesis.
- Typing WPM & Switch Debounce Conventions — Standard 5-character word normalization for Net/Raw WPM and <15 ms mechanical contact bounce classification.
All keyboard events, polling intervals, audio synthesis, and diagnostic metrics are processed strictly inside your local browser tab with zero keystroke logging or external API calls.