1. 16

I saved the recent “Terminal and Shell Performance” article [1] in the Wiki for my shell [2], and I saw that I had saved this great article on a similar subject (editor lag vs. terminal lag).

In this article I examine human- and machine aspects of typing latency (“typing lag”) and present experimental data on latency of popular text / code editors. The article is inspired by my work on implementing “zero-latency typing” in IntelliJ IDEA.

Previous discussion: https://lobste.rs/s/75t9eg/typing_latency

[1] https://lobste.rs/s/xvwozt/terminal_shell_performance

[2] https://github.com/oilshell/oil/wiki/Interactive-Shell


  2. 3

    As USB is a host-driven bus, keyboard has to wait for a host request before sending the data about registered keystroke

    PS/2 is still a thing! :) Most modern keyboards support PS/2, all you need is a USB to PS/2 adapter. And the port is not going away — I have two modern mainboards, one AMD X370 and one Intel Z170, both have the PS/2 port.