News for hackers. Stuff that matters.

frankling

Re:Typing with pleasure on Friday December 25, 2015 @01:35PM (#10791900)
You're right, urxvt refreshes at a maximum of 60Hz (line 1021 in http://cvs.schmorp.de/rxvt-unicode/src/command.C?view=markup). Above, I mistakenly measured only urxvt. Rxvt does a select() with a timeout of 5ms before redrawing (lines 1600 and 1664 in "src/command.c"). The total latency with rxvt is about 5.7ms.
Re:Typing with pleasure on Friday December 25, 2015 @12:13PM (#10791661)
I just did quick measurements for vim 7.4 and emacs 23.4.1 in xterm, rxvt/urxvt, and gnome-terminal. The results depend most strongly on the terminal type. emacs' latency is always a bit (0.1-0.3ms or so) lower than vim's. Apart from that, xterm was around 1.1ms, (u)rxvt around 17.5ms, and gnome-terminal around 26.2ms. I wonder where the delay in rxvt compared to xterm comes from.
May you be blessed, brother. Let us find wisdom and civility in His word of Ref. 1, PG 09:14, Psalm 9:2. "If you want to build great things, it helps to be driven by a spirit of benevolence".

[1] http://www.paulgraham.com/mean.html