How to debug zsh startup time

July 10, 2017

Use the zprof module to profile the zsh functions.

Add zmodload zsh/zprof at the beginning of the .zshrc file.

Add zprof at the end to print the result of the profling.

In my case the problem was nvm due to this issue.

source

comments powered by Disqus