Skip to content

Instantly share code, notes, and snippets.

@huyvohcmc
Created February 16, 2021 11:02
Show Gist options
  • Save huyvohcmc/a8ac2c441b7b2b5666c474683034b391 to your computer and use it in GitHub Desktop.
Save huyvohcmc/a8ac2c441b7b2b5666c474683034b391 to your computer and use it in GitHub Desktop.
# profiling zsh startup time
$ for i in $(seq 1 10); do /usr/bin/time /bin/zsh -i -c exit; done
# profiling nvim startup time
$ nvim <file-name> --startuptime nvim.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment