that seems dependent on the gui and terminal in question. on windows, a graphical emacs window has less perceptible latency then a terminal window
All non-electron terminals have better latency story than cross platform GUIs. Surprised you mentioned Emacs here as it is notoriously laggish in this department.
Have you tried programming in terminals on Windows? I promise you it is horrifying.