Last active
August 29, 2015 14:10
-
-
Save timss/4384c2497206e0e883e9 to your computer and use it in GitHub Desktop.
Vim startup time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~ > cpulow | |
~ > for i in {1..5}; do time vim -c q .vimrc; done | |
real 0m0.526s | |
user 0m0.472s | |
sys 0m0.020s | |
real 0m0.479s | |
user 0m0.412s | |
sys 0m0.040s | |
real 0m0.534s | |
user 0m0.456s | |
sys 0m0.044s | |
real 0m0.550s | |
user 0m0.476s | |
sys 0m0.040s | |
real 0m0.530s | |
user 0m0.448s | |
sys 0m0.052s | |
~ > cpuhigh | |
~ > for i in {1..5}; do time vim -c q .vimrc; done | |
real 0m0.216s | |
user 0m0.156s | |
sys 0m0.028s | |
real 0m0.212s | |
user 0m0.132s | |
sys 0m0.044s | |
real 0m0.214s | |
user 0m0.160s | |
sys 0m0.020s | |
real 0m0.218s | |
user 0m0.176s | |
sys 0m0.008s | |
real 0m0.212s | |
user 0m0.164s | |
sys 0m0.012s | |
~ > cpulow | |
~ > for i in {1..5}; do time vim -c q; done | |
real 0m0.390s | |
user 0m0.320s | |
sys 0m0.056s | |
real 0m0.314s | |
user 0m0.268s | |
sys 0m0.024s | |
real 0m0.342s | |
user 0m0.292s | |
sys 0m0.028s | |
real 0m0.318s | |
user 0m0.264s | |
sys 0m0.028s | |
real 0m0.299s | |
user 0m0.248s | |
sys 0m0.028s | |
~ > cpuhigh | |
~ > for i in {1..5}; do time vim -c q; done | |
real 0m0.147s | |
user 0m0.120s | |
sys 0m0.008s | |
real 0m0.151s | |
user 0m0.112s | |
sys 0m0.016s | |
real 0m0.145s | |
user 0m0.108s | |
sys 0m0.012s | |
real 0m0.147s | |
user 0m0.108s | |
sys 0m0.016s | |
real 0m0.145s | |
user 0m0.100s | |
sys 0m0.020s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim -u NONE --startuptime none.log | |
times in msec | |
clock self+sourced self: sourced script | |
clock elapsed: other lines | |
000.002 000.002: --- VIM STARTING --- | |
000.065 000.063: Allocated generic buffers | |
000.091 000.026: locale set | |
000.102 000.011: GUI prepared | |
000.104 000.002: clipboard setup | |
000.108 000.004: window checked | |
000.375 000.267: inits 1 | |
000.379 000.004: parsing arguments | |
000.380 000.001: expanding arguments | |
000.386 000.006: shell init | |
001.040 000.654: xsmp init | |
001.250 000.210: Termcap init | |
001.280 000.030: inits 2 | |
001.364 000.084: init highlight | |
001.365 000.001: sourcing vimrc file(s) | |
002.998 001.633: inits 3 | |
005.517 002.519: setup clipboard | |
005.523 000.006: setting raw mode | |
005.533 000.010: start termcap | |
005.540 000.007: clearing screen | |
005.878 000.338: opening buffers | |
005.880 000.002: BufEnter autocommands | |
005.881 000.001: editing files in windows | |
005.883 000.002: VimEnter autocommands | |
005.884 000.001: before starting main loop | |
006.431 000.547: first screen update | |
006.432 000.001: --- VIM STARTED --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ vim --startuptime vim.log | |
times in msec | |
clock self+sourced self: sourced script | |
clock elapsed: other lines | |
000.003 000.003: --- VIM STARTING --- | |
000.053 000.050: Allocated generic buffers | |
000.081 000.028: locale set | |
000.090 000.009: GUI prepared | |
000.093 000.003: clipboard setup | |
000.096 000.003: window checked | |
000.354 000.258: inits 1 | |
000.359 000.005: parsing arguments | |
000.359 000.000: expanding arguments | |
000.365 000.006: shell init | |
000.766 000.401: xsmp init | |
000.954 000.188: Termcap init | |
000.989 000.035: inits 2 | |
001.095 000.106: init highlight | |
001.321 000.155 000.155: sourcing /usr/share/vim/vim74/debian.vim | |
001.360 000.235 000.080: sourcing $VIM/vimrc | |
012.173 000.028 000.028: sourcing /usr/share/vim/vim74/ftoff.vim | |
012.441 000.184 000.184: sourcing /home/tim/.vim/bundle/Vundle.vim/autoload/vundle.vim | |
012.701 000.157 000.157: sourcing /home/tim/.vim/bundle/Vundle.vim/autoload/vundle/config.vim | |
013.662 000.682 000.682: sourcing /home/tim/.vimrc.plugins | |
017.369 000.003 000.003: sourcing /home/tim/.vimrc.first | |
038.597 000.204 000.204: sourcing /home/tim/.vim/bundle/Vim-Jinja2-Syntax/ftdetect/jinja.vim | |
038.743 000.096 000.096: sourcing /home/tim/.vim/bundle/vim-puppet/ftdetect/puppet.vim | |
039.254 021.743 021.443: sourcing /usr/share/vim/vim74/filetype.vim | |
039.557 000.038 000.038: sourcing /usr/share/vim/vim74/ftplugin.vim | |
039.848 000.036 000.036: sourcing /usr/share/vim/vim74/indent.vim | |
040.517 000.188 000.188: sourcing /usr/share/vim/vim74/syntax/syncolor.vim | |
040.738 000.573 000.385: sourcing /usr/share/vim/vim74/syntax/synload.vim | |
040.772 000.773 000.200: sourcing /usr/share/vim/vim74/syntax/syntax.vim | |
041.159 000.167 000.167: sourcing /usr/share/vim/vim74/syntax/syncolor.vim | |
041.788 000.166 000.166: sourcing /usr/share/vim/vim74/syntax/syncolor.vim | |
042.368 000.169 000.169: sourcing /usr/share/vim/vim74/syntax/syncolor.vim | |
042.879 000.167 000.167: sourcing /usr/share/vim/vim74/syntax/syncolor.vim | |
064.538 023.151 022.649: sourcing /home/tim/.vim/bundle/jellybeans.vim/colors/jellybeans.vim | |
065.713 000.027 000.027: sourcing /home/tim/.vimrc.last | |
065.724 064.336 017.347: sourcing $HOME/.vimrc | |
065.728 000.062: sourcing vimrc file(s) | |
066.003 000.010 000.010: sourcing /usr/share/vim/vim74/filetype.vim | |
066.310 000.011 000.011: sourcing /usr/share/vim/vim74/ftplugin.vim | |
066.454 000.612 000.591: sourcing /home/tim/.vim/bundle/jedi-vim/plugin/jedi.vim | |
066.700 000.171 000.171: sourcing /home/tim/.vim/bundle/SudoEdit.vim/plugin/SudoEdit.vim | |
067.690 000.927 000.927: sourcing /home/tim/.vim/bundle/supertab/plugin/supertab.vim | |
068.154 000.206 000.206: sourcing /home/tim/.vim/bundle/ctrlp.vim/autoload/ctrlp/mrufiles.vim | |
068.349 000.592 000.386: sourcing /home/tim/.vim/bundle/ctrlp.vim/plugin/ctrlp.vim | |
068.516 000.102 000.102: sourcing /home/tim/.vim/bundle/lightline.vim/plugin/lightline.vim | |
068.885 000.084 000.084: sourcing /home/tim/.vim/bundle/vim-bufferline/autoload/bufferline.vim | |
068.986 000.408 000.324: sourcing /home/tim/.vim/bundle/vim-bufferline/plugin/bufferline.vim | |
072.886 003.837 003.837: sourcing /home/tim/.vim/bundle/vim-easymotion/plugin/EasyMotion.vim | |
077.750 004.776 004.776: sourcing /home/tim/.vim/bundle/nerdcommenter/plugin/NERD_commenter.vim | |
079.005 001.179 001.179: sourcing /home/tim/.vim/bundle/vim-autoclose/plugin/AutoClose.vim | |
082.982 003.902 003.902: sourcing /home/tim/.vim/bundle/vim-fugitive/plugin/fugitive.vim | |
083.603 000.553 000.553: sourcing /home/tim/.vim/bundle/vim-surround/plugin/surround.vim | |
086.177 002.478 002.478: sourcing /home/tim/.vim/bundle/Align/plugin/AlignMapsPlugin.vim | |
086.285 000.083 000.083: sourcing /home/tim/.vim/bundle/Align/plugin/AlignPlugin.vim | |
086.718 000.411 000.411: sourcing /home/tim/.vim/bundle/Align/plugin/cecutil.vim | |
086.978 000.181 000.181: sourcing /home/tim/.vim/bundle/tlib_vim/plugin/02tlib.vim | |
087.061 000.019 000.019: sourcing /home/tim/.vim/bundle/vim-snippets/plugin/vimsnippets.vim | |
087.314 000.054 000.054: sourcing /home/tim/.vim/bundle/vim-addon-mw-utils/autoload/funcref.vim | |
087.712 000.594 000.540: sourcing /home/tim/.vim/bundle/vim-snipmate/plugin/snipMate.vim | |
087.903 000.094 000.094: sourcing /home/tim/.vim/bundle/vim-startify/plugin/startify.vim | |
088.245 000.280 000.280: sourcing /home/tim/.vim/bundle/vim-signify/plugin/signify.vim | |
088.475 000.015 000.015: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/autoloclist.vim | |
088.507 000.011 000.011: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/balloons.vim | |
088.536 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/checker.vim | |
088.564 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/cursor.vim | |
088.593 000.011 000.011: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/highlighting.vim | |
088.621 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/loclist.vim | |
088.649 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/modemap.vim | |
088.677 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/notifiers.vim | |
088.706 000.011 000.011: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/registry.vim | |
088.735 000.010 000.010: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/signs.vim | |
089.267 000.275 000.275: sourcing /home/tim/.vim/bundle/syntastic/autoload/syntastic/util.vim | |
100.754 000.055 000.055: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/autoloclist.vim | |
100.840 000.062 000.062: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/balloons.vim | |
101.004 000.144 000.144: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/checker.vim | |
101.126 000.102 000.102: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/cursor.vim | |
101.238 000.091 000.091: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/highlighting.vim | |
101.557 000.298 000.298: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/loclist.vim | |
101.667 000.087 000.087: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/modemap.vim | |
101.765 000.078 000.078: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/notifiers.vim | |
102.044 000.259 000.259: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/registry.vim | |
102.267 000.122 000.122: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic/signs.vim | |
103.344 014.591 013.018: sourcing /home/tim/.vim/bundle/syntastic/plugin/syntastic.vim | |
104.283 000.864 000.864: sourcing /home/tim/.vim/bundle/tagbar/plugin/tagbar.vim | |
104.544 000.070 000.070: sourcing /usr/share/vim/vim74/plugin/getscriptPlugin.vim | |
104.799 000.232 000.232: sourcing /usr/share/vim/vim74/plugin/gzip.vim | |
105.009 000.187 000.187: sourcing /usr/share/vim/vim74/plugin/matchparen.vim | |
105.587 000.554 000.554: sourcing /usr/share/vim/vim74/plugin/netrwPlugin.vim | |
105.663 000.040 000.040: sourcing /usr/share/vim/vim74/plugin/rrhelper.vim | |
105.721 000.028 000.028: sourcing /usr/share/vim/vim74/plugin/spellfile.vim | |
105.924 000.175 000.175: sourcing /usr/share/vim/vim74/plugin/tarPlugin.vim | |
106.056 000.096 000.096: sourcing /usr/share/vim/vim74/plugin/tohtml.vim | |
106.281 000.195 000.195: sourcing /usr/share/vim/vim74/plugin/vimballPlugin.vim | |
106.522 000.205 000.205: sourcing /usr/share/vim/vim74/plugin/zipPlugin.vim | |
107.146 000.299 000.299: sourcing /home/tim/.vim/bundle/vim-snipmate/after/plugin/snipMate.vim | |
107.203 002.632: loading plugins | |
108.583 001.380: inits 3 | |
108.768 000.185: reading viminfo | |
111.085 002.317: setup clipboard | |
111.093 000.008: setting raw mode | |
111.107 000.014: start termcap | |
111.159 000.052: clearing screen | |
111.916 000.313 000.313: sourcing /home/tim/.vim/bundle/lightline.vim/autoload/lightline.vim | |
112.694 000.050 000.050: sourcing /home/tim/.vim/bundle/lightline.vim/autoload/lightline/tab.vim | |
113.215 000.167 000.167: sourcing /home/tim/.vim/bundle/lightline.vim/autoload/lightline/colorscheme.vim | |
113.535 000.670 000.503: sourcing /home/tim/.vim/bundle/lightline.vim/autoload/lightline/colorscheme/jellybeans.vim | |
118.130 005.938: opening buffers | |
121.786 000.180 000.180: sourcing /home/tim/.vim/bundle/syntastic/autoload/syntastic/log.vim | |
122.485 004.175: BufEnter autocommands | |
122.487 000.002: editing files in windows | |
123.599 000.451 000.451: sourcing /home/tim/.vim/bundle/vim-startify/autoload/startify.vim | |
123.978 000.076 000.076: sourcing /home/tim/.vim/bundle/vim-signify/autoload/sy.vim | |
132.337 000.329 000.329: sourcing /home/tim/.vim/bundle/vim-startify/syntax/startify.vim | |
134.667 011.324: VimEnter autocommands | |
134.671 000.004: before starting main loop | |
137.695 003.024: first screen update | |
137.697 000.002: --- VIM STARTED --- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment