Live data from Hacker News

Keyboard latency

danluu.com

271–274 of 274 posts

Re: Keyboard latency

#271
post #92

I'm surprised the "humans don't notice 100 ms" argument is even made. That's trivially debunkable with a simple blind A/B test at the command line using `sleep 0.1` with and without `sleep` aliased to `true`. To my eyes, the delay is obvious at 100 ms, noticeable at 50 ms, barely perceptible at 20 ms, and unnoticeable at 10 ms. Not to mention that 100 ms is musically a 16th note at 150 bpm. Being off by a 16th note e…

> strike a key less than 100 ms after some visual stimuli, I'm sure I couldn't do it The video game "Super Hexagon"[1] is a surprisingly interesting demonstration of this limitation, and how the mind tries to workaround the problem. The higher difficulties ("hexagonest"[2]) seem impossible at first. In the easier levels you can react , but now the time it takes to see the scree, parse the simple graphics, recognize t…

The youtube video you've linked is so satisfying and exciting to watch. I guess this is the premise of Twitch :)

I've spent quite sometime on super hexagon myself.

Re: Keyboard latency

#272
post #269

Earlier quoted context omitted.

I would be extremely surprised if fork on a unix-like takes 1ms.

Be horrified, then. https://redislabs.com/blog/testing-fork-time-on-awsxen-infra... https://www.cs.indiana.edu/~adkulkar/papers/pspawn.pdf

Both of those appear to indicate that forking is expensive when you need to copy unusually large amounts of memory (which makes sense). In this context, I would expect reasonable/small memory use and so fast forking.

Re: Keyboard latency

#273
post #269

Earlier quoted context omitted.

Be horrified, then. https://redislabs.com/blog/testing-fork-time-on-awsxen-infra... https://www.cs.indiana.edu/~adkulkar/papers/pspawn.pdf

Both of those appear to indicate that forking is expensive when you need to copy unusually large amounts of memory (which makes sense). In this context, I would expect reasonable/small memory use and so fast forking.

From lmbench, http://www.bitmover.com/lmbench/lat_proc.8.html

Try it out.

Re: Keyboard latency

#274
post #66
post #2

IMO, a better measure would be from activation of the switch, as opposed to the beginning of key travel. I don't start waiting for the character to appear on my screen from the moment I begin to press down. My anticipation begins when I feel the tactile feedback of the switch activating (or the switch bottoming out on switches that don't offer tactile feedback). On a keyboard with good tactile feedback, I might not m…

A weird result with the Das 3 keyboard (25ms) considering it uses a cherry MX switch, same as the Kinesis (55ms). The OLKB and Ergodox don't state the switches used, but it's almost certainly a cherry MX style switch with non-modified actuation points compared to the original.

Would also like to know more about this since I want the best performance from my Kinesis :)
Post reply on HN