3 ms·
No human can perceive lag in the range of 1-2ms. In fact you'll need to put in a lot of effort to reduce input delay between keyboard and screen to 30-40ms unde
by alpaca128 5y ago
No human can perceive lag in the range of 1-2ms. In fact you'll need to put in a lot of effort to reduce input delay between keyboard and screen to 30-40ms under ideal conditions, the average computer is much slower than that [0].
My usual issues with Electron apps are about performance in general, not (just) input. There's a good chance the browser version runs better, and afaik it should also have a smaller resource overhead.
[0] https://danluu.com/input-lag/ https://danluu.com/input-lag/
- sgt 5y agoI just wrote a little key catcher written in C using the select(2) syscall with stdin, and set it to 1ms delay per keystroke. I guess you could be right; right now I couldn't say exactly for sure whether 1ms is noticeable. However, when setting it to 10ms it is very noticeable if you type fast.