-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
30x slower than Terminal.app #110
Comments
Just to be sure, did you compile in release mode? |
Yes I did |
how large is the file you're testing with? |
You can see in the setup, its 14M |
Did you run it twice to warm up caches? |
ya, i proved its not cached related by: |
I have a 97MB log file that I ran the test with. Once with a fresh application, the again and noted the time taken below:
Iterm 2, v.3.0.13
Terminal.app 2.5.3
Alacritty
So at least for me it has no speed benefit over any other terminal when using tmux. |
Fresh build of both rust nightly and alacritty yields the following results when
That said, catting a binary seems like a very unusual behaviour, so another test catting a 27M file of source code (
My two take homes: alacritty is very fast (nice job!), but tmux exacts a punishing performance penalty. Note, that's tmux 2.2 with only Given the stated intention to not support tabs, let alone more advanced layout, are you also planning on rewriting tmux for performance? ;) |
One of the things happening with I'm not interested in writing tmux, but I think it would be interesting to try and add support for panes in a few common applications like vim and tmux. The hard part would be getting the protocol additions widely accepted.
Folks with tiling window managers are requesting built-in scrolling support because of that. They don't care about tabs (as much), but having to use tmux for scrolling totally defeats the purpose of Alacritty in their case. Those who require tabs and splits should probably consider other terminal emulators. |
According to Nicholas Marriott (tmux developer) "panes" already exists in VT420. If VT420 is implemented it would work out of the box with tmux since they already have that implemented. Should we open an issue about implementing VT420 commands? |
There were significant performance improvements done in tmux 2.4+, try rerunning your benchmarks on the latest tmux 2.5. Previously I was totally able to reproduce your numbers on my Linux, but today things are way better:
|
Can't reproduce Timing for
|
setup:
test:
time hexdump -C pgadmin3-1.22.1.dmg
alacritty
Terminal.app
Alacritty renders at a nice 60 fps, but Terminal.app finishes the hexdump way faster
The text was updated successfully, but these errors were encountered: