The best way to measure end-to-end latency is an Arduino with a light sensor, with the Arduino programatically injecting USB events. I made an Amazon shopping list[1] a year ago. I hope to rework my code and post a blog soon.
[1] https://www.amazon.com/ideas/amzn1.account.AGSZP5AWBGH7772O3...