Mouse Double-Click Test
A worn mouse switch can send two presses for one push. This page records the time of each left click and sorts the gaps between them into three groups.
- Click in the test area once, then wait about a second. Repeat 20 or more times.
- Watch the gap list. Each new press shows the time since the previous one.
- Press counted twice from a single click show up as a very short gap flagged "suspect".
- Adjust the threshold if you want to be stricter or looser, then press Reset to start over.
How a gap between two clicks is classified
| Status | You see | What it means |
|---|---|---|
| Fault | Under 80 ms (the default threshold) | Suspect. A person rarely produces two deliberate clicks this close, so one push registering twice is the likely cause. |
| Healthy | 80 ms up to 500 ms | A normal double-click. Operating systems usually accept a double-click inside a window of roughly this size (the setting varies by system). |
| Reference | Over 500 ms | Two separate clicks. |
Timing taken on mouse down, not on click
The page listens for mouse down on the left button and stores performance.now() each time. A click event fires only after the button is released and can be merged or delayed by the system, so timing the press itself is closer to what the switch did.
Gaps are the differences between consecutive stamps. A gap strictly below the threshold is suspect, a gap up to and including 500 ms is a double, anything longer is separate. The threshold box accepts a whole number from 1 to 400; anything else falls back to 80 ms.
The summary lists the clicks, the number of suspect gaps, the fastest gap and the average gap. The 80 ms default is a practical limit written in the code, chosen because deliberate human double clicks rarely go below it; it is not a published standard.
Browsers reduce the precision of performance.now() on purpose, so gaps are reliable to about a millisecond at best.
A suspect gap is a sign, not a verdict: a fast player may click quickly, and some mice debounce in firmware differently. Repeat the slow-click run before you decide on a replacement.
- Mouse Button TestCheck every button and the wheel, not only the left one.
- Mouse Polling Rate TestThe other mouse figure that affects how it feels.