Skip to content
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

Slow rendering #3368

Open
tfeldmann opened this issue May 22, 2024 · 2 comments
Open

Slow rendering #3368

tfeldmann opened this issue May 22, 2024 · 2 comments

Comments

@tfeldmann
Copy link

tfeldmann commented May 22, 2024

Hi and thanks for the great project!
I found zellij to be visibly slower compared to tmux and thought this might be a bug. Example video of the helix theme changer in tmux compared to zellij:

zellij-tmux.mov

zellij --version: zellij 0.40.1

stty size: 75 248

uname -av or ver(Windows): Darwin MBP.fritz.box 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:14:38 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6020 arm64

Logs:

zellij-16.log
zellij.log

@giyany
Copy link

giyany commented May 22, 2024

Zellij is not tmux, hence performance differences are expected and normal.
If this hinders a specific process or a workflow, you'll have to be more specific so we can address this as a part of improving Zellij performance overall.

@imsnif
Copy link
Member

imsnif commented May 22, 2024

Also, if I may chime in: the best course of action here is for helix to implement synchronized renders (CSI 2026), which I did not find in your logfiles. What you're seeing is not slow rendering but rather extra renders that happen because it's very hard to figure out where a rendering frame ends (next to impossible, tbh). This can only be properly solved through the application side. Anything else we do to solve this is one of those YMMV things, will work sometimes, not work in other times, work on strong/weak hardware, not work in the other, harm other processes, etc. The solution in terminal land for this is CSI 2026 and it can only happen on the application side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants