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 zsh boot with powerlevel10k #103

Closed
marselmustafin opened this issue Jul 4, 2019 · 3 comments
Closed

Slow zsh boot with powerlevel10k #103

marselmustafin opened this issue Jul 4, 2019 · 3 comments

Comments

@marselmustafin
Copy link

Tried to set powerlevel10k instead of powerline to my zsh shell, since powerline took most of shell boostrap time, but I found that powerlevel10k takes even more time. Is there some opportunity to make powerlevel10k bootstrap faster than powerline does?

Bootstrap log with powerline:
Снимок экрана 2019-07-04 в 13 05 26

Bootstrap log with powerlevel10k:
image

@romkatv
Copy link
Owner

romkatv commented Jul 4, 2019

How can I read the profiles? How long does it say powerline takes vs powerlevel10k?

@romkatv
Copy link
Owner

romkatv commented Jul 4, 2019

How can I read the profiles? How long does it say powerline takes vs powerlevel10k?

Does the profile say that powerline loads in 80 ms and powerlevel10k loads in 160 ms? If so, I'm inclined to close this issue as working as intended. While having shorter load time is better, 160 ms is within the expected range for Powerlevel10k. I except a typical user to start under a dozen interactive ZSH sessions per day, so shaving off 80 ms per session would have little impact.

I added https://github.com/romkatv/powerlevel10k#is-powerlevel10k-fast-to-load to set the right expectations on load latency.

@romkatv romkatv closed this as completed Jul 4, 2019
@romkatv
Copy link
Owner

romkatv commented Oct 2, 2019

FYI: The latest commits have made Powerlevel10k 2.5-3 times faster to load. If you zcompile sources and configs, it's over 3 times faster. See #234 (comment) and below.

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

No branches or pull requests

2 participants