r/cpp • build2 • Aug 05 '26

Faster Than Ninja

https://build2.org/blog/faster-than-ninja.xhtml
67 Upvotes

69 comments sorted by

View all comments

Show parent comment

14

u/throw_cpp_account Aug 05 '26

still within the 200ms limit of human brain registering the result.

The number you're thinking of is 100ms. 200ms is definitely noticeable. It's still fast on human scales, but a human can definitely tell the difference between something taking 20ms and something taking 170ms.

4

u/scrumplesplunge Aug 05 '26

It's definitely even lower than that. I have a little statistical significance test about exactly this on my website: https://eoj.ie/13 (it's intended for use with a mouse -- touchscreen is hard mode). I can pretty consistently tell the difference between xms and x+75ms (where x is the inherent lag of your device handling a mouse click via javascript and refreshing your screen, which is probably in the region of 5-30ms)