Skip to content

Instantly share code, notes, and snippets.

@polybuildr
Created October 28, 2016 05:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save polybuildr/9aeb92664146a289383f9e19a9a57089 to your computer and use it in GitHub Desktop.
Save polybuildr/9aeb92664146a289383f9e19a9a57089 to your computer and use it in GitHub Desktop.
[vivek@matrix] ~ $ zprof
num calls time self name
-----------------------------------------------------------------------------------
1) 1 70188.91 70188.91 97.33% 69952.67 69952.67 97.00% nvm_die_on_prefix
2) 1 72111.58 72111.58 100.00% 1546.75 1546.75 2.14% nvm_auto
3) 3 292.23 97.41 0.41% 292.23 97.41 0.41% nvm_has
4) 1 70564.83 70564.83 97.85% 283.53 283.53 0.39% nvm
5) 1 36.44 36.44 0.05% 32.49 32.49 0.05% nvm_ensure_version_installed
6) 1 3.95 3.95 0.01% 3.95 3.95 0.01% nvm_is_version_installed
7) 1 0.81 0.81 0.00% 0.81 0.81 0.00% nvm_supports_source_options
8) 2 0.36 0.18 0.00% 0.36 0.18 0.00% title
9) 1 0.19 0.19 0.00% 0.19 0.19 0.00% zle-line-init
10) 1 0.42 0.42 0.00% 0.14 0.14 0.00% omz_termsupport_precmd
11) 1 0.18 0.18 0.00% 0.10 0.10 0.00% omz_termsupport_preexec
12) 1 72112.46 72112.46 100.00% 0.07 0.07 0.00% nvm_process_parameters
13) 1 0.05 0.05 0.00% 0.05 0.05 0.00% zle-line-finish
-----------------------------------------------------------------------------------
12) 1 72112.46 72112.46 100.00% 0.07 0.07 0.00% nvm_process_parameters
1/1 0.81 0.81 0.00% 0.81 0.81 nvm_supports_source_options [7]
1/1 72111.58 72111.58 100.00% 1546.75 1546.75 nvm_auto [2]
-----------------------------------------------------------------------------------
1/1 72111.58 72111.58 100.00% 1546.75 1546.75 nvm_process_parameters [12]
2) 1 72111.58 72111.58 100.00% 1546.75 1546.75 2.14% nvm_auto
1/1 70564.83 70564.83 97.85% 283.53 283.53 nvm [4]
-----------------------------------------------------------------------------------
1/1 70564.83 70564.83 97.85% 283.53 283.53 nvm_auto [2]
4) 1 70564.83 70564.83 97.85% 283.53 283.53 0.39% nvm
1/1 36.44 36.44 0.05% 32.49 32.49 nvm_ensure_version_installed [5]
1/3 55.95 55.95 0.08% 55.95 55.95 nvm_has [3]
1/1 70188.91 70188.91 97.33% 69952.67 69952.67 nvm_die_on_prefix [1]
-----------------------------------------------------------------------------------
1/1 70188.91 70188.91 97.33% 69952.67 69952.67 nvm [4]
1) 1 70188.91 70188.91 97.33% 69952.67 69952.67 97.00% nvm_die_on_prefix
1/3 236.24 236.24 0.33% 236.24 236.24 nvm_has [3]
-----------------------------------------------------------------------------------
1/3 236.24 236.24 0.33% 236.24 236.24 nvm_die_on_prefix [1]
1/3 55.95 55.95 0.08% 55.95 55.95 nvm [4]
3) 3 292.23 97.41 0.41% 292.23 97.41 0.41% nvm_has
-----------------------------------------------------------------------------------
1/1 36.44 36.44 0.05% 32.49 32.49 nvm [4]
5) 1 36.44 36.44 0.05% 32.49 32.49 0.05% nvm_ensure_version_installed
1/1 3.95 3.95 0.01% 3.95 3.95 nvm_is_version_installed [6]
-----------------------------------------------------------------------------------
1/1 3.95 3.95 0.01% 3.95 3.95 nvm_ensure_version_installed [5]
6) 1 3.95 3.95 0.01% 3.95 3.95 0.01% nvm_is_version_installed
-----------------------------------------------------------------------------------
1/1 0.81 0.81 0.00% 0.81 0.81 nvm_process_parameters [12]
7) 1 0.81 0.81 0.00% 0.81 0.81 0.00% nvm_supports_source_options
-----------------------------------------------------------------------------------
10) 1 0.42 0.42 0.00% 0.14 0.14 0.00% omz_termsupport_precmd
1/2 0.28 0.28 0.00% 0.28 0.28 title [8]
-----------------------------------------------------------------------------------
1/2 0.28 0.28 0.00% 0.28 0.28 omz_termsupport_precmd [10]
1/2 0.08 0.08 0.00% 0.08 0.08 omz_termsupport_preexec [11]
8) 2 0.36 0.18 0.00% 0.36 0.18 0.00% title
-----------------------------------------------------------------------------------
9) 1 0.19 0.19 0.00% 0.19 0.19 0.00% zle-line-init
-----------------------------------------------------------------------------------
11) 1 0.18 0.18 0.00% 0.10 0.10 0.00% omz_termsupport_preexec
1/2 0.08 0.08 0.00% 0.08 0.08 title [8]
-----------------------------------------------------------------------------------
13) 1 0.05 0.05 0.00% 0.05 0.05 0.00% zle-line-finish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment