Open
Description
I had this in my ~/.zshrc
, and I found there are some performance issue when loading up this zsh.
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
before comment out the above line:
/usr/bin/time zsh -i -c exit;
3.08 real 1.75 user 1.03 sys
after comment out the above line:
/usr/bin/time zsh -i -c exit;
2.69 real 1.47 user 0.89 sys
Current version at :
commit ad522a091429ba180c930f84b2a023b40de4dbcc
Note: I have other perf issues on startup that is not related to zsh-syntax-highlighting, but I'm pursuing each hotspot to cut the perf number lower. And zsh-syntax-highlighting is one of them.