I've been trying various terminal emulators lately, from the built-in gnome-terminal, aterm, xterm, wterm, to rxvt. The test I've been doing is in this order:
- Open up a tmux window with 2 panes
- The left pane will be an verbose-intensive task such as
grep a /et/c -r
or a simpletime seq -f 'blah blah %g' 100000
- The right pane will be a vim window with syntax on, opening any file that has more than >100 lines of code.
When the left pane is printing a lot of output, the right pane seems to be very slow and unresponsive, I tried to scroll in vim but it takes 1-2 second for it to change. When I try to press CtrlC on the left pane it waits for more than 10 second before it stopped
When I do the same thing in TTY (pressing CTRL+ALT+(F[1-6])), it doesn't happen and both panes are very responsive.
I've turned of some config such as antialias fonts, turn of coloring, use default settings, and change to xmonad and openbox, but it doesn't change anything.
The result of time seq -f 'blah blah %g' 100000
is not really different among these terminals, but the responsiveness is really different especially when I'm running spitted pane tmux (or other multiplexers). FYI, I'm running all of them in a maximized mode.
I've read about frame buffered terminals but not sure how does it work and how can it be used to speed up my terminal emulator.
So my question is, what makes terminal emulator far slower than TTY? Is there any possibility to make it as fast as TTY? Maybe hardware acceleration or something?. One thing I know, my resolution in X server when running a maximized terminal emulator is 1920x1080, and when I'm running TTY it is less than that, but I'm not sure how this would affect the performance.