Tracking start up times

This commit is contained in:
Just Midi 2021-08-11 21:19:02 +00:00
parent 08daef5d71
commit 672ef634ee
2 changed files with 66 additions and 0 deletions

61
startup.log Normal file
View file

@ -0,0 +1,61 @@
times in msec
clock self+sourced self: sourced script
clock elapsed: other lines
000.009 000.009: --- NVIM STARTING ---
000.390 000.381: locale set
000.893 000.503: inits 1
000.922 000.029: window checked
000.926 000.004: parsing arguments
001.077 000.151: expanding arguments
001.145 000.068: inits 2
002.189 001.044: init highlight
002.193 000.004: waiting for UI
003.196 001.003: done waiting for UI
003.214 000.018: initialized screen early for UI
009.728 006.314 006.314: sourcing /root/.config/nvim/init.lua
009.754 000.225: sourcing vimrc file(s)
021.196 011.354 011.354: sourcing /usr/share/nvim/runtime/filetype.vim
021.810 000.059 000.059: sourcing /usr/share/nvim/runtime/ftplugin.vim
022.532 000.071 000.071: sourcing /usr/share/nvim/runtime/indent.vim
023.771 000.494 000.494: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
024.549 001.396 000.902: sourcing /usr/share/nvim/runtime/syntax/synload.vim
024.743 001.696 000.300: sourcing /usr/share/nvim/runtime/syntax/syntax.vim
027.150 001.163 001.163: sourcing /usr/share/nvim/runtime/plugin/fzf.vim
027.554 000.358 000.358: sourcing /usr/share/nvim/runtime/plugin/gzip.vim
027.613 000.015 000.015: sourcing /usr/share/nvim/runtime/plugin/health.vim
027.739 000.105 000.105: sourcing /usr/share/nvim/runtime/plugin/man.vim
028.694 000.303 000.303: sourcing /usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
028.887 001.115 000.812: sourcing /usr/share/nvim/runtime/plugin/matchit.vim
029.133 000.223 000.223: sourcing /usr/share/nvim/runtime/plugin/matchparen.vim
030.083 000.921 000.921: sourcing /usr/share/nvim/runtime/plugin/netrwPlugin.vim
030.916 000.298 000.298: sourcing /usr/share/nvim/runtime/autoload/remote/host.vim
031.432 000.282 000.282: sourcing /usr/share/nvim/runtime/autoload/remote/define.vim
031.611 001.158 000.578: sourcing /root/.local/share/nvim/rplugin.vim
031.621 001.461 000.303: sourcing /usr/share/nvim/runtime/plugin/rplugin.vim
032.032 000.341 000.341: sourcing /usr/share/nvim/runtime/plugin/shada.vim
032.207 000.069 000.069: sourcing /usr/share/nvim/runtime/plugin/spellfile.vim
032.550 000.299 000.299: sourcing /usr/share/nvim/runtime/plugin/tarPlugin.vim
032.756 000.151 000.151: sourcing /usr/share/nvim/runtime/plugin/tohtml.vim
032.819 000.027 000.027: sourcing /usr/share/nvim/runtime/plugin/tutor.vim
033.183 000.330 000.330: sourcing /usr/share/nvim/runtime/plugin/zipPlugin.vim
033.746 004.235: loading plugins
034.276 000.302 000.302: sourcing /root/.local/share/nvim/site/pack/paqs/start/nvim-compe/plugin/compe.vim
044.324 009.813 009.813: sourcing /root/.local/share/nvim/site/pack/paqs/start/nvim-lspconfig/plugin/lspconfig.vim
044.861 001.001: loading packages
045.173 000.192 000.192: sourcing /root/.local/share/nvim/site/pack/paqs/start/nvim-compe/after/plugin/compe.vim
045.910 000.857: loading after plugins
045.931 000.021: inits 3
053.990 008.060: reading ShaDa
055.259 000.842 000.842: sourcing /usr/share/nvim/runtime/scripts.vim
055.858 001.026: reading stdin
055.865 000.007: opening buffers
055.920 000.055: BufEnter autocommands
055.924 000.004: editing files in windows
056.040 000.116: VimEnter autocommands
056.043 000.003: UIEnter autocommands
056.045 000.002: before starting main loop
056.731 000.686: first screen update
056.736 000.005: --- NVIM STARTED ---

5
test/startup_log.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
rm startup.log
nvim --startuptime startup.log
cat startup.log