simuwaerm icon indicating copy to clipboard operation
simuwaerm copied to clipboard

Comparison of rendering performance in different terminal emulators

Open pvonmoradi opened this issue 3 years ago • 5 comments

I did a rudimentary test to compare rendering performance among Alacritty, Xfce4-terminal and Konsole. Xfce4-terminal has the least amount of flickering.

https://user-images.githubusercontent.com/1058151/184092182-dd20ab05-b668-423a-8304-2de5e9519c6c.mp4

pvonmoradi avatar Aug 11 '22 08:08 pvonmoradi

Cool, thanks lots!

That's very interesting and weird. When I run it in Konsole, it looks exactly like your Xfce-4 screen capture. Terminals sure are the wild west, it looks different on every one. If someone knows remedies, feel free to share. I tried to flush as infrequently as possible, but oh well.

I also like what happens on Xterm. It runs perfectly smoothly, but doesn't understand unicode: Screenshot_20220811_113201

lennart-finke avatar Aug 11 '22 09:08 lennart-finke

Here is my test on XTerm(330) for reference:

https://user-images.githubusercontent.com/1058151/184107939-ba61b9f7-527a-4c3b-a99c-7fa7de77bcd6.mp4

So, flicker is similar to xfce4-terminal and the unicode is rendering fine.

I wonder why Alacritty's performance was so poor. It uses GPU for rendering. Also interested to how Kitty would behave in this.

pvonmoradi avatar Aug 11 '22 09:08 pvonmoradi

Kitty was one of the terminals I originally tested on. Sadly it flickers a bit, like this

Screenshot_20220811_140945 :

lennart-finke avatar Aug 11 '22 12:08 lennart-finke

I use macOS! (iTerm2 and fish shell)

I just tried to compile and run your program from source, and I can see some flickering too. Also, the colour doesn't look as gradient as it was intended?

https://user-images.githubusercontent.com/87855546/212538481-14cbdb62-3688-4d1a-b9bd-1f9f54c52144.mov

leana8959 avatar Jan 15 '23 11:01 leana8959

Thank you! Yes, I tried implementing the same behaviour with ANSI values for mac without being able to test it, which it looks like worked surprisingly well. Cool!

Sadly ANSI values don't have that high of a 'resolution', so that is why it looks a little bit choppy.

lennart-finke avatar Jan 16 '23 00:01 lennart-finke