lmb.gg

Mouse diagnostics in your browser. Test your click speed, estimate polling rate, check your scroll wheel, and detect double-click issues.

CPS Test

Choose a duration, then click as fast as you can with the left button. The timer starts on your first click.

Clicks
0
Time Left
10.0 s
Average CPS
0.00
Live CPS
0.0
Best (this length)
—

Only left-button presses count. Average CPS is total clicks ÷ test length; Live CPS is the rate over the last second. Your best scores are kept for this visit only.

How these tests work & their limits

CPS test

The timer starts on your first left click and runs for the length you chose. Clicks are timed with the same event timestamps, and any click that arrives after the time is up is not counted. Average CPS is total clicks ÷ test length; Live CPS is the rate over the last second.

Polling rate

We collect the timestamp of every raw pointer sample the browser exposes (via coalesced events) in a rolling 0.5 s window and compute Hz = (samples − 1) ÷ elapsed time. Counting samples, rather than averaging gaps, stays accurate even when the browser rounds timestamps. Raw Input Mode uses Pointer Lock with unadjusted movement (Chromium browsers) to bypass OS cursor processing and sit closest to the hardware rate. We also measure your display's refresh rate and warn when a reading looks like that instead of your mouse. For a definitive check, change your mouse's rate in its own software (e.g. 125, 500, 1000 Hz) and confirm the reading follows.

Scroll wheel

A direction glitch is logged when one event in the opposite direction appears inside an otherwise steady scroll (up-up-down-up within half a second). Free-spinning wheels, trackpads and smooth-scrolling drivers can behave differently from notched wheels.

Double-click detector

Timing uses the browser's high-resolution event timestamps (the same clock as performance.now()), stamped when the click is received rather than when our code runs, so a busy page can't fake a double-click. The 80 ms threshold and the release-to-press timing are indicators, not proof of a faulty switch.