How this polling rate tester works
The tester listens for pointerrawupdate when the browser exposes it and otherwise falls back to pointermove. It timestamps valid movement with performance.now(), rejects duplicate or implausible intervals, and calculates readings from recent samples.