DEV Community

Discussion on: zsh / oh-my-zsh up and running

Collapse
 
meabed profile image
Meabed

I run this on Mac 16gb 2015 model
With iterm2 4x4 panels = 16 zsh
And it works pretty well less than second opening.

Do you have some benchmarks or issues u ran through already ?

Collapse
 
madhur profile image
Madhur Ahuja

Yes, I have used zmodload zsh/zprof to profile. It takes a sec. Also using 16 GB MAC.

Bulk of the time is spent in compinit and zsh-syntax-highlighting.

There are articles on optimizing compinit. Yet to do that. But I believe any article suggesting heavy use of oh-my-zsh should come with a performance optimization techniques.

Thread Thread
 
meabed profile image
Meabed

Yes correct because it compiles all history and suggestions, would you share some of this optimization articles, as it would be helpful for me and everyone reading. Thanks

Thread Thread
 
madhur profile image
Madhur Ahuja

There are tons of it.

blog.jonlu.ca/posts/speeding-up-zsh

This particular one has references to others as well.