Input Lag Tester — Mouse & Keyboard Input Latency
Visualize your mouse input lag in real time as a live canvas — see the JS-recorded cursor trail lag behind the hardware pointer. Switch to Keyboard mode to measure keydown-to-frame pipeline delay per keypress.
Session Stats
Recent History
No tests yet.
Input Lag Reference
Mouse Lag Canvas
As you move your mouse, JavaScript records each position from mousemove events. The green circle trails behind your hardware cursor — that visible gap is your input lag. Faster polling rates (500Hz, 1000Hz) shrink this gap.
Timing Graph
The graph at the bottom of the canvas shows inter-event intervals (blue bars) and rAF offset times (gray bars). A flat blue line near 8ms means a standard 125Hz mouse. A good system shows a consistent sawtooth pattern on the gray line.
Keyboard Mode
Each keypress measures the gap between the OS-reported keydown.timeStamp and the next rendered animation frame. This isolates browser input processing and rendering pipeline delay from your own reaction time.
Reduce Lag
Use a 1000Hz polling mouse, 144Hz+ monitor, Game Mode display setting, wired peripherals, and keep background apps closed. Disable V-Sync or use adaptive sync (G-Sync / FreeSync) for best pipeline performance.