How to use the click latency test
- Close other heavy tabs and programs, and plug in a laptop.
- Press Start test, or click the dark box.
- Click the box 15 times at a steady pace with the left button (or tap on a touch screen). Other buttons aren't counted; the box tells you if you used one.
- The test finishes by itself after the 15th click and saves the result for your Performance Report. Click the box or press Start test to go again; Reset clears the readings.
- Run it two or three times and compare the medians.
What it measures
When you click, the browser gives the click a time stamp. When this page's code runs, it reads the current time on the same clock. The difference is how long the click waited inside the browser before the page could act on it. That wait is the browser's own input handling plus any time the page was busy. That is all this test can see.
A click that takes over 500 ms to reach the page counts as a stall and is left out. The box tells you when that happens.
The rest of the chain, which a web page can't see
Before the browser stamps a click, it has already passed through several stages. Each one adds time, and none of it reaches this test:
- The switch. A mechanical switch has to close, then the mouse waits out its debounce time. Glorious, for example, sets the Model O's debounce to 10 ms by default, adjustable from 4 to 16 ms. Optical switches work differently: Omron gives a typical response time of 0.015 ms for its optical switch.
- The report. The mouse sends its state at its polling rate. At 1000Hz that is every 1 ms; Razer's HyperPolling cuts it to 0.125 ms at 8000Hz. Some mice on Bluetooth are much slower: Logitech fixes the G603 at 8 ms (125Hz) on Bluetooth. On average a click waits about half the interval for the next report, so about 0.5 ms at 1000Hz and 4 ms at 125Hz.
- The operating system passes the click to the browser.
- In a game, the game engine and your display add more. One frame lasts 16.7 ms at 60Hz, 6.9 ms at 144Hz, 4.2 ms at 240Hz and 2.8 ms at 360Hz.
So this test can't compare switches, or wired and wireless mice, and its number is not your mouse's click latency. It does show whether your browser and computer are keeping up. If the delay is high or jumps around, something is keeping the browser from responding promptly. It also isn't a reaction-time test; how quickly you click doesn't change the result.
Reading the result
- Median: the middle reading of your 15 clicks. It ignores the odd slow click, so it is the fairest single figure, and the one rated.
- 95th percentile: the delay that 95% of clicks came in under. It shows the slow ones.
- Average: the mean of all 15. If it is well above the median, a few slow clicks pulled it up.
- Spread (standard deviation): how much the readings vary. A low spread means the browser responds consistently.
- Lowest and Highest: the quickest and slowest readings.
- Histogram: how your readings spread out. One tall bar means consistent; a long tail to the right means occasional hold-ups.
The ratings on the median are our own bands, not an industry standard. Very low is under 2 ms and low is 2 to 5 ms. Moderate is 5 to 10 ms, high is 10 to 20 ms and very high is 20 ms or more.
Browsers round event times. Chrome rounds to 0.1 ms and Firefox to 1 ms by default. So in Firefox the readings move in steps of about 1 ms, and results below 1 ms are close to that rounding. The page's own clock is coarsened too, to 100 microseconds on an ordinary page.
If your delay is high
- Close other tabs, especially video, games and busy web apps, and quit heavy programs.
- Plug in a laptop and take it out of any battery-saving mode.
- Pause large downloads, updates or backups that are running in the background.
- Try with browser extensions turned off, or in another browser.
- Run the test again and compare the median and the spread with your first run.
If the browser delay stays low but a game still feels slow to respond, the cause is elsewhere in the chain. Check your polling rate with the polling rate test. For the full picture, read Mouse click latency: what it is and why it matters for gaming.
Does DPI affect input lag?
DPI sets how many counts the sensor reports for each inch you move the mouse. It doesn't change when a click is sent, so changing DPI shouldn't change this test's result. The setting that does change when a click is reported is the polling rate, as above, and that happens before the browser can see it. To check your DPI itself, use the DPI analyser.
Is wireless slower than wired?
This test can't tell you, because the wireless link is outside what a web page sees. It depends on the mouse and how it connects. Logitech's G603, for example, can report every 1 ms through its receiver but only every 8 ms on Bluetooth. For more, read Wired vs wireless gaming mice.