Just for fun, I tried that test using my Android phone as input device via KDE Connect. The first time I got 0, because I usually only use the remote input functionality for clipboard sharing, but then I got it up to 12. What killed me was the input lag. It wouldn't surprise me if the Macbook drivers had seen a lot more work on latency optimization than the Linux equivalents.