0

I finally got around to refreshing my vim setup and adding plugins and such. As a result, my startup time has gotten much worse. What's strange though is that it only seems to be an issue on Windows. If I start vim in WSL2 on the same machine with exactly the same configuration, the startup time is totally fine.

To summarize: vim and nvim under WSL2 Ubuntu 20.04 start up quickly. vim/gvim/nvim/nvim-qt started either from PowerShell or from Windows take a couple of seconds longer to start, consistently. Looking at the logs, it just looks like everything takes much longer across the board.

Here is nvim started from WSL2 with --startuptime:

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:              other lines

000.004  000.004: --- NVIM STARTING ---
000.268  000.264: locale set
000.480  000.212: inits 1
000.488  000.009: window checked
000.490  000.002: parsing arguments
000.550  000.060: expanding arguments
000.578  000.028: inits 2
000.921  000.343: init highlight
000.923  000.002: waiting for UI
005.634  004.711: done waiting for UI
005.717  000.083: initialized screen early for UI
007.247  001.334  001.334: sourcing /home/adminlocal/.vim/autoload/plug.vim
014.602  000.023  000.023: sourcing /home/adminlocal/.vim/plugged/vim-ps1/ftdetect/ps1.vim
014.624  000.009  000.009: sourcing /home/adminlocal/.vim/plugged/vim-ps1/ftdetect/ps1xml.vim
014.644  000.012  000.012: sourcing /home/adminlocal/.vim/plugged/vim-ps1/ftdetect/xml.vim
014.757  000.057  000.057: sourcing /home/adminlocal/.vim/plugged/vim-jsonc/ftdetect/jsonc.vim
016.709  001.925  001.925: sourcing /home/adminlocal/.vim/plugged/vim-polyglot/ftdetect/polyglot.vim
016.806  007.078  005.052: sourcing /usr/share/nvim/runtime/filetype.vim
016.900  000.024  000.024: sourcing /usr/share/nvim/runtime/ftplugin.vim
016.989  000.020  000.020: sourcing /usr/share/nvim/runtime/indent.vim
017.556  000.392  000.392: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
017.635  000.541  000.149: sourcing /usr/share/nvim/runtime/syntax/synload.vim
017.654  000.633  000.092: sourcing /usr/share/nvim/runtime/syntax/syntax.vim
017.781  000.066  000.066: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/parts.vim
018.196  000.126  000.126: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
018.756  000.144  000.144: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
019.123  000.110  000.110: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
023.549  005.594  005.213: sourcing /home/adminlocal/.vim/plugged/onehalf/vim/colors/onehalfdark.vim
024.016  000.136  000.136: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
024.414  000.115  000.115: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
027.125  003.540  003.290: sourcing /home/adminlocal/.vim/plugged/onehalf/vim/colors/onehalfdark.vim
027.518  000.263  000.263: sourcing /usr/share/nvim/runtime/syntax/nosyntax.vim
028.051  000.134  000.134: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
028.483  000.116  000.116: sourcing /usr/share/nvim/runtime/syntax/syncolor.vim
031.170  003.550  003.299: sourcing /home/adminlocal/.vim/plugged/onehalf/vim/colors/onehalfdark.vim
031.246  003.669  000.119: sourcing /usr/share/nvim/runtime/syntax/synload.vim
031.267  004.033  000.102: sourcing /usr/share/nvim/runtime/syntax/syntax.vim
031.432  000.009  000.009: sourcing /usr/share/nvim/runtime/filetype.vim
031.510  000.006  000.006: sourcing /usr/share/nvim/runtime/ftplugin.vim
032.121  026.266  003.927: sourcing /home/adminlocal/.vimrc
032.127  026.308  000.042: sourcing /home/adminlocal/.config/nvim/init.vim
032.129  000.104: sourcing vimrc file(s)
032.650  000.116  000.116: sourcing /home/adminlocal/.vim/plugged/nerdtree/autoload/nerdtree.vim
033.556  000.381  000.381: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/path.vim
033.675  000.096  000.096: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/menu_controller.vim
033.763  000.053  000.053: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/menu_item.vim
033.845  000.064  000.064: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/key_map.vim
033.999  000.138  000.138: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/bookmark.vim
034.150  000.134  000.134: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/tree_file_node.vim
034.456  000.289  000.289: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/tree_dir_node.vim
034.594  000.116  000.116: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/opener.vim
034.771  000.161  000.161: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/creator.vim
034.823  000.029  000.029: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/flag_set.vim
034.956  000.089  000.089: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/nerdtree.vim
035.162  000.190  000.190: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/ui.vim
035.209  000.019  000.019: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/event.vim
035.254  000.024  000.024: sourcing /home/adminlocal/.vim/plugged/nerdtree/lib/nerdtree/notifier.vim
035.566  000.293  000.293: sourcing /home/adminlocal/.vim/plugged/nerdtree/autoload/nerdtree/ui_glue.vim
037.902  000.066  000.066: sourcing /home/adminlocal/.vim/plugged/nerdtree/nerdtree_plugin/exec_menuitem.vim
196.861  158.596  158.596: sourcing /usr/share/nvim/runtime/autoload/provider/clipboard.vim
197.139  159.228  000.632: sourcing /home/adminlocal/.vim/plugged/nerdtree/nerdtree_plugin/fs_menu.vim
197.219  000.058  000.058: sourcing /home/adminlocal/.vim/plugged/nerdtree/nerdtree_plugin/vcs.vim
197.759  000.455  000.455: sourcing /home/adminlocal/.vim/plugged/nerdtree-git-plugin/nerdtree_plugin/git_status.vim
197.943  165.689  003.691: sourcing /home/adminlocal/.vim/plugged/nerdtree/plugin/NERD_tree.vim
202.008  004.026  004.026: sourcing /home/adminlocal/.vim/plugged/nerdcommenter/plugin/NERD_commenter.vim
202.394  000.344  000.344: sourcing /home/adminlocal/.vim/plugged/vim-surround/plugin/surround.vim
202.830  000.136  000.136: sourcing /home/adminlocal/.vim/plugged/vim-gitgutter/autoload/gitgutter/utility.vim
203.318  000.208  000.208: sourcing /home/adminlocal/.vim/plugged/vim-gitgutter/autoload/gitgutter/highlight.vim
204.229  001.780  001.436: sourcing /home/adminlocal/.vim/plugged/vim-gitgutter/plugin/gitgutter.vim
204.608  000.083  000.083: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/init.vim
205.907  000.239  000.239: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/util.vim
205.979  001.701  001.380: sourcing /home/adminlocal/.vim/plugged/vim-airline/plugin/airline.vim
206.424  000.393  000.393: sourcing /home/adminlocal/.vim/plugged/editorconfig-vim/plugin/editorconfig.vim
207.092  000.125  000.125: sourcing /home/adminlocal/.vim/plugged/ale/autoload/ale/events.vim
207.267  000.797  000.673: sourcing /home/adminlocal/.vim/plugged/ale/plugin/ale.vim
207.422  000.109  000.109: sourcing /home/adminlocal/.vim/plugged/vim-rainbow/plugin/rainbow.vim
207.728  000.127  000.127: sourcing /home/adminlocal/.vim/plugged/coc.nvim/autoload/coc/rpc.vim
208.435  000.638  000.638: sourcing /home/adminlocal/.vim/plugged/coc.nvim/autoload/coc/util.vim
208.750  000.148  000.148: sourcing /home/adminlocal/.vim/plugged/coc.nvim/autoload/coc/client.vim
213.353  005.882  004.969: sourcing /home/adminlocal/.vim/plugged/coc.nvim/plugin/coc.vim
213.800  000.379  000.379: sourcing /home/adminlocal/.vim/plugged/semshi/plugin/semshi.vim
214.225  000.248  000.248: sourcing /usr/share/nvim/runtime/plugin/gzip.vim
214.252  000.008  000.008: sourcing /usr/share/nvim/runtime/plugin/health.vim
214.335  000.071  000.071: sourcing /usr/share/nvim/runtime/plugin/man.vim
214.755  000.228  000.228: sourcing /usr/share/nvim/runtime/pack/dist/opt/matchit/plugin/matchit.vim
214.796  000.449  000.221: sourcing /usr/share/nvim/runtime/plugin/matchit.vim
214.933  000.122  000.122: sourcing /usr/share/nvim/runtime/plugin/matchparen.vim
215.388  000.435  000.435: sourcing /usr/share/nvim/runtime/plugin/netrwPlugin.vim
215.764  000.162  000.162: sourcing /usr/share/nvim/runtime/autoload/remote/host.vim
216.069  000.157  000.157: sourcing /usr/share/nvim/runtime/autoload/remote/define.vim
216.753  001.234  000.915: sourcing /home/adminlocal/.local/share/nvim/rplugin.vim
216.759  001.343  000.108: sourcing /usr/share/nvim/runtime/plugin/rplugin.vim
216.880  000.098  000.098: sourcing /usr/share/nvim/runtime/plugin/shada.vim
216.915  000.017  000.017: sourcing /usr/share/nvim/runtime/plugin/spellfile.vim
217.057  000.129  000.129: sourcing /usr/share/nvim/runtime/plugin/tarPlugin.vim
217.150  000.071  000.071: sourcing /usr/share/nvim/runtime/plugin/tohtml.vim
217.182  000.018  000.018: sourcing /usr/share/nvim/runtime/plugin/tutor.vim
217.386  000.153  000.153: sourcing /usr/share/nvim/runtime/plugin/zipPlugin.vim
217.406  001.016: loading plugins
217.457  000.051: loading packages
217.501  000.044: loading after plugins
217.516  000.015: inits 3
218.091  000.193  000.193: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions.vim
218.220  000.057  000.057: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/quickfix.vim
218.393  000.119  000.119: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline.vim
218.511  000.024  000.024: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/netrw.vim
218.740  000.065  000.065: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/section.vim
218.993  000.138  000.138: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/highlighter.vim
219.123  000.532  000.329: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/term.vim
219.326  000.072  000.072: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/hunks.vim
219.578  000.063  000.063: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/ale.vim
219.792  000.038  000.038: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/coc.vim
219.989  000.087  000.087: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/whitespace.vim
274.131  000.088  000.088: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/wordcount.vim
274.358  000.124  000.124: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline.vim
274.473  000.034  000.034: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/autoshow.vim
274.999  000.067  000.067: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/tabs.vim
275.240  000.133  000.133: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/buffers.vim
275.450  000.019  000.019: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/keymap.vim
279.890  000.037  000.037: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/themes.vim
280.169  000.398  000.360: sourcing /home/adminlocal/.vim/plugged/onehalf/vim/autoload/airline/themes/onehalfdark.vim
280.774  000.327  000.327: sourcing /home/adminlocal/.vim/plugged/onehalf/vim/autoload/airline/themes/onehalfdark.vim
303.465  000.111  000.111: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/builder.vim
303.788  000.066  000.066: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/default.vim
323.416  000.127  000.127: sourcing /home/adminlocal/.vim/plugged/ale/autoload/ale.vim
323.478  103.283: opening buffers
323.706  000.105  000.105: sourcing /home/adminlocal/.vim/plugged/vim-gitgutter/autoload/gitgutter.vim
324.076  000.492: BufEnter autocommands
324.078  000.003: editing files in windows
324.534  000.456: VimEnter autocommands
324.537  000.003: UIEnter autocommands
324.539  000.001: before starting main loop
324.919  000.076  000.076: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/ctrlspace.vim
325.043  000.069  000.069: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/tabws.vim
325.394  000.096  000.096: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/builder.vim
325.531  000.039  000.039: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/buflist.vim
327.823  000.040  000.040: sourcing /home/adminlocal/.vim/plugged/vim-airline/autoload/airline/extensions/tabline/formatters/default.vim
331.444  000.229  000.229: sourcing /home/adminlocal/.vim/plugged/vim-gitgutter/autoload/gitgutter/hunk.vim
332.083  000.269  000.269: sourcing /home/adminlocal/.vim/plugged/ale/autoload/ale/engine.vim
332.226  000.072  000.072: sourcing /home/adminlocal/.vim/plugged/ale/autoload/ale/statusline.vim
333.853  008.425: first screen update
333.856  000.002: --- NVIM STARTED ---

And here is the output from nvim-qt, started from PowerShell:

times in msec
 clock   self+sourced   self:  sourced script
 clock   elapsed:              other lines

000.315  000.315: --- NVIM STARTING ---
010.959  010.643: locale set
011.588  000.629: inits 1
011.671  000.083: window checked
011.679  000.008: parsing arguments
011.761  000.082: expanding arguments
011.806  000.046: inits 2
014.267  002.461: init highlight
014.273  000.006: waiting for UI
016.073  001.801: done waiting for UI
016.090  000.017: initialized screen early for UI
087.587  017.273  017.273: sourcing D:\Home\.vim\autoload\plug.vim
142.400  001.675  001.675: sourcing D:\Home\.vim\plugged\vim-ps1\ftdetect\ps1.vim
147.988  001.460  001.460: sourcing D:\Home\.vim\plugged\vim-ps1\ftdetect\ps1xml.vim
153.447  001.537  001.537: sourcing D:\Home\.vim\plugged\vim-ps1\ftdetect\xml.vim
165.203  001.624  001.624: sourcing D:\Home\.vim\plugged\vim-jsonc\ftdetect\jsonc.vim
185.311  006.620  006.620: sourcing D:\Home\.vim\plugged\vim-polyglot\ftdetect\polyglot.vim
187.141  074.879  061.963: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\filetype.vim
194.456  000.131  000.131: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\ftplugin.vim
201.429  000.112  000.112: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\indent.vim
212.145  000.639  000.639: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
212.977  006.114  005.475: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\synload.vim
213.026  010.709  004.595: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syntax.vim
222.737  001.668  001.668: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\parts.vim
235.937  000.297  000.297: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
243.928  000.550  000.550: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
249.363  000.283  000.283: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
260.297  030.050  028.919: sourcing D:\Home\.vim\plugged\onehalf\vim\colors\onehalfdark.vim
276.209  000.578  000.578: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
281.946  000.288  000.288: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
292.398  024.310  023.444: sourcing D:\Home\.vim\plugged\onehalf\vim\colors\onehalfdark.vim
294.043  000.273  000.273: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax/nosyntax.vim
313.976  000.582  000.582: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
319.584  000.300  000.300: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syncolor.vim
330.141  024.182  023.300: sourcing D:\Home\.vim\plugged\onehalf\vim\colors\onehalfdark.vim
330.396  031.814  007.632: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\synload.vim
330.449  037.229  005.141: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\syntax\syntax.vim
337.305  000.061  000.061: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\filetype.vim
344.561  000.059  000.059: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\ftplugin.vim
348.176  297.630  101.148: sourcing D:\Home/.vimrc
348.512  307.736  010.106: sourcing D:\Home\.config\nvim\init.vim
348.664  024.838: sourcing vimrc file(s)
402.379  011.775  011.775: sourcing D:\Home\.vim\plugged\nerdtree\autoload\nerdtree.vim
418.719  003.460  003.460: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\path.vim
427.213  001.918  001.918: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\menu_controller.vim
435.037  001.606  001.606: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\menu_item.vim
443.287  001.831  001.831: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\key_map.vim
457.059  002.459  002.459: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\bookmark.vim
471.095  002.115  002.115: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\tree_file_node.vim
486.356  003.725  003.725: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\tree_dir_node.vim
502.326  002.211  002.211: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\opener.vim
516.513  002.276  002.276: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\creator.vim
524.535  001.583  001.583: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\flag_set.vim
532.766  001.929  001.929: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\nerdtree.vim
546.111  002.863  002.863: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\ui.vim
553.867  001.574  001.574: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\event.vim
561.591  001.666  001.666: sourcing D:\Home\.vim\plugged\nerdtree\lib\nerdtree\notifier.vim
576.384  003.359  003.359: sourcing D:\Home\.vim\plugged\nerdtree\autoload\nerdtree\ui_glue.vim
632.095  001.626  001.626: sourcing D:\Home\.vim\plugged\nerdtree\nerdtree_plugin\exec_menuitem.vim
678.286  023.386  023.386: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\autoload\provider\clipboard.vim
680.087  038.049  014.663: sourcing D:\Home\.vim\plugged\nerdtree\nerdtree_plugin\fs_menu.vim
686.786  001.945  001.945: sourcing D:\Home\.vim\plugged\nerdtree\nerdtree_plugin\vcs.vim
732.491  008.458  008.458: sourcing D:\Home\.vim\plugged\nerdtree-git-plugin\nerdtree_plugin\git_status.vim
743.929  361.090  264.664: sourcing D:\Home\.vim\plugged\nerdtree\plugin\NERD_tree.vim
797.121  012.352  012.352: sourcing D:\Home\.vim\plugged\nerdcommenter\plugin\NERD_commenter.vim
833.673  003.049  003.049: sourcing D:\Home\.vim\plugged\vim-surround\plugin\surround.vim
875.560  001.870  001.870: sourcing D:\Home\.vim\plugged\vim-gitgutter\autoload\gitgutter\utility.vim
903.331  002.261  002.261: sourcing D:\Home\.vim\plugged\vim-gitgutter\autoload\gitgutter\highlight.vim
912.257  001.621  001.621: sourcing D:\Home\.vim\plugged\vim-gitgutter\autoload\gitgutter\async.vim
914.493  049.064  043.312: sourcing D:\Home\.vim\plugged\vim-gitgutter\plugin\gitgutter.vim
970.032  002.290  002.290: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\init.vim
982.154  002.014  002.014: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\util.vim
982.772  031.949  027.645: sourcing D:\Home\.vim\plugged\vim-airline\plugin\airline.vim
1017.031  002.968  002.968: sourcing D:\Home\.vim\plugged\editorconfig-vim\plugin\editorconfig.vim
1060.544  001.922  001.922: sourcing D:\Home\.vim\plugged\ale\autoload\ale\events.vim
1061.336  014.408  012.485: sourcing D:\Home\.vim\plugged\ale\plugin\ale.vim
1080.282  001.878  001.878: sourcing D:\Home\.vim\plugged\vim-rainbow\plugin\rainbow.vim
1127.082  001.797  001.797: sourcing D:\Home\.vim\plugged\coc.nvim\autoload\coc\rpc.vim
1146.448  004.143  004.143: sourcing D:\Home\.vim\plugged\coc.nvim\autoload\coc\util.vim
1171.455  002.214  002.214: sourcing D:\Home\.vim\plugged\coc.nvim\autoload\coc\client.vim
1185.930  070.886  062.732: sourcing D:\Home\.vim\plugged\coc.nvim\plugin\coc.vim
1213.288  008.487  008.487: sourcing D:\Home\.vim\plugged\semshi\plugin\semshi.vim
1217.939  000.525  000.525: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\gzip.vim
1218.207  000.085  000.085: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\health.vim
1218.535  000.169  000.169: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\man.vim
1237.928  000.652  000.652: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\pack\dist\opt\matchit\plugin\matchit.vim
1238.314  019.622  018.970: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\matchit.vim
1238.783  000.283  000.283: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\matchparen.vim
1239.937  000.915  000.915: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\netrwPlugin.vim
1244.515  000.321  000.321: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\autoload\remote\host.vim
1248.672  000.271  000.271: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\autoload\remote\define.vim
1249.527  008.962  008.370: sourcing C:\Users\sid6581\AppData\Local\nvim-data/rplugin.vim
1249.547  009.420  000.458: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\rplugin.vim
1250.009  000.259  000.259: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\shada.vim
1250.309  000.110  000.110: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\spellfile.vim
1250.785  000.269  000.269: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\tarPlugin.vim
1251.203  000.231  000.231: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\tohtml.vim
1251.496  000.118  000.118: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\tutor.vim
1251.927  000.260  000.260: sourcing C:\Users\sid6581\scoop\apps\neovim-nightly\current\share\nvim\runtime\plugin\zipPlugin.vim
1252.842  315.781: loading plugins
1253.740  000.898: loading packages
1255.090  001.350: loading after plugins
1255.143  000.053: inits 3
1285.641  016.607  016.607: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions.vim
1295.840  001.622  001.622: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\quickfix.vim
1311.708  002.161  002.161: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline.vim
1321.106  001.571  001.571: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\netrw.vim
1339.469  001.674  001.674: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\section.vim
1354.026  002.448  002.448: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\highlighter.vim
1354.753  025.957  021.834: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\term.vim
1364.254  001.914  001.914: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\hunks.vim
1374.381  001.950  001.950: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\ale.vim
1384.696  001.695  001.695: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\coc.vim
1394.382  001.909  001.909: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\whitespace.vim
1411.911  001.694  001.694: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\wordcount.vim
1427.345  002.312  002.312: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline.vim
1436.902  001.728  001.728: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\autoshow.vim
1446.479  001.912  001.912: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\tabs.vim
1461.702  002.440  002.440: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\buffers.vim
1471.135  001.590  001.590: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\keymap.vim
2491.879  001.604  001.604: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\themes.vim
2492.983  012.098  010.494: sourcing D:\Home\.vim\plugged\onehalf\vim\autoload\airline\themes\onehalfdark.vim
2521.546  002.116  002.116: sourcing D:\Home\.vim\plugged\onehalf\vim\autoload\airline\themes\onehalfdark.vim
2556.769  002.015  002.015: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\builder.vim
2567.927  002.138  002.138: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\default.vim
2605.843  002.288  002.288: sourcing D:\Home\.vim\plugged\ale\autoload\ale.vim
2606.117  1263.258: opening buffers
2615.581  001.823  001.823: sourcing D:\Home\.vim\plugged\vim-gitgutter\autoload\gitgutter.vim
2616.395  008.456: BufEnter autocommands
2616.402  000.006: editing files in windows
2616.744  000.343: VimEnter autocommands
2616.750  000.005: UIEnter autocommands
2616.753  000.003: before starting main loop
2627.779  002.290  002.290: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\ctrlspace.vim
2638.096  002.050  002.050: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\tabws.vim
2652.656  002.257  002.257: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\builder.vim
2662.026  001.601  001.601: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\buflist.vim
2673.753  001.676  001.676: sourcing D:\Home\.vim\plugged\vim-airline\autoload\airline\extensions\tabline\formatters\default.vim
2692.336  002.669  002.669: sourcing D:\Home\.vim\plugged\vim-gitgutter\autoload\gitgutter\hunk.vim
2710.050  003.099  003.099: sourcing D:\Home\.vim\plugged\ale\autoload\ale\engine.vim
2720.633  001.846  001.846: sourcing D:\Home\.vim\plugged\ale\autoload\ale\statusline.vim
2722.575  088.333: first screen update
2722.581  000.006: --- NVIM STARTED ---

I'm not sure quite where I should look? If I remove all my plugins, the startup time goes back to normal on Windows, but I wouldn't think I should have to do that when WSL2 can handle an identical setup.

New contributor
sid is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

sid is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.