Tony Mechelynck wrote: > > On 13/08/13 20:48, Anith C.R wrote: >> >> Hi, >> >> I just updated my vim version to 7.4 on my Windows 7 PC, and found >> the following issues. >> 1) gvim is taking more time to load (It was already a bit slow >> with my earlier 7.3.46 version as well. But it is slower by another >> second or so after updating to 7.4) > > > If your previous version was 7.3.46, then you took your own good > time updating. That patchlevel was released on 27 October 2010, > and since then there has been 7.3.47 to 7.3.1314, 7.4a to 7.4a.47, > 7.4b to 7.4b.22 and finally 7.4, for a total of 1340 (one thousand > three hundred and forty) changes so far. If I divide your 4 seconds > by 1340 it makes an average increment of three milliseconds per > patchlevel — not something that I would notice. And if you mean > it has only got slower by one second then it's only 0.75 millisecond > on average.
That's a strange way of massaging statistics (divide startup by 1340 patches). An extra 0.75 ms is an annoying delay in my opinion. Having said that, I don't see such a delay myself (using vim-7.4 huge, Linux x86_64). Can you post your startuptime file? (log of: gvim --startuptime startuptime.log) For comparison, this is the startuptime.log file on my Linux laptop using Vim-7.4 (huge, Linux x86_64, gtk2 GUI), obtained with: $ gvim --startuptime startuptime.log times in msec clock self+sourced self: sourced script clock elapsed: other lines 000.015 000.015: --- VIM STARTING --- 000.319 000.304: Allocated generic buffers 000.653 000.334: locale set 000.710 000.057: GUI prepared 000.719 000.009: clipboard setup 000.742 000.023: window checked 002.510 001.768: inits 1 002.542 000.032: parsing arguments 002.566 000.024: expanding arguments 002.629 000.063: shell init 004.440 001.811: xsmp init 005.361 000.921: Termcap init 005.518 000.157: inits 2 005.887 000.369: init highlight 007.991 000.679 000.679: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 008.430 001.315 000.636: sourcing /usr/local/share/vim/vim74/syntax/synload.vim 034.201 000.834 000.834: sourcing /usr/local/share/vim/vim74/lang/menu_eo.utf-8.vim 034.713 000.055 000.055: sourcing /usr/local/share/vim/vim74/autoload/paste.vim 047.006 013.805 012.916: sourcing /usr/local/share/vim/vim74/menu.vim 047.047 038.440 024.635: sourcing /usr/local/share/vim/vim74/filetype.vim 047.093 040.180 000.425: sourcing /usr/local/share/vim/vim74/syntax/syntax.vim 047.163 000.011 000.011: sourcing /usr/local/share/vim/vim74/filetype.vim 047.219 000.009 000.009: sourcing /usr/local/share/vim/vim74/filetype.vim 047.308 000.044 000.044: sourcing /usr/local/share/vim/vim74/ftplugin.vim 090.147 000.228 000.228: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 090.634 000.197 000.197: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 091.007 000.197 000.197: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 091.701 001.404 001.010: sourcing /home/pel/.vim/colors/rastafari.vim 091.712 085.492 043.616: sourcing $HOME/.vimrc 091.718 000.339: sourcing vimrc file(s) 092.772 000.783 000.783: sourcing /home/pel/.vim/plugin/CSApprox.vim 093.519 000.716 000.716: sourcing /home/pel/.vim/plugin/LanguageTool.vim 093.742 000.157 000.157: sourcing /home/pel/.vim/plugin/ack.vim 094.761 000.546 000.546: sourcing /home/pel/.vim/autoload/ctrlp/mrufiles.vim 095.237 001.442 000.896: sourcing /home/pel/.vim/plugin/ctrlp.vim 095.389 000.087 000.087: sourcing /home/pel/.vim/plugin/explainpat.vim 095.463 000.023 000.023: sourcing /home/pel/.vim/plugin/faq_plugin.vim 101.964 006.454 006.454: sourcing /home/pel/.vim/plugin/fugitive.vim 102.588 000.584 000.584: sourcing /home/pel/.vim/plugin/netrwPlugin.vim 103.307 000.687 000.687: sourcing /home/pel/.vim/plugin/surround.vim 104.045 000.703 000.703: sourcing /home/pel/.vim/plugin/syntastic.vim 104.762 000.684 000.684: sourcing /home/pel/.vim/plugin/taglist.vim 105.784 000.991 000.991: sourcing /home/pel/.vim/plugin/undotree.vim 105.924 000.108 000.108: sourcing /home/pel/.vim/plugin/unicode.vim 109.123 003.110 003.110: sourcing /home/pel/.vim/plugin/vcscommand.vim 109.178 003.227 000.117: sourcing /home/pel/.vim/plugin/vcsbzr.vim 109.328 000.123 000.123: sourcing /home/pel/.vim/plugin/vcscommand.vim 109.431 000.080 000.080: sourcing /home/pel/.vim/plugin/vcscvs.vim 109.724 000.269 000.269: sourcing /home/pel/.vim/plugin/vcsgit.vim 110.057 000.304 000.304: sourcing /home/pel/.vim/plugin/vcshg.vim 110.156 000.069 000.069: sourcing /home/pel/.vim/plugin/vcssvk.vim 110.470 000.291 000.291: sourcing /home/pel/.vim/plugin/vcssvn.vim 110.780 000.095 000.095: sourcing /usr/local/share/vim/vim74/plugin/getscriptPlugin.vim 111.078 000.268 000.268: sourcing /usr/local/share/vim/vim74/plugin/gzip.vim 111.344 000.235 000.235: sourcing /usr/local/share/vim/vim74/plugin/matchparen.vim 111.397 000.024 000.024: sourcing /usr/local/share/vim/vim74/plugin/netrwPlugin.vim 111.465 000.045 000.045: sourcing /usr/local/share/vim/vim74/plugin/rrhelper.vim 111.547 000.049 000.049: sourcing /usr/local/share/vim/vim74/plugin/spellfile.vim 111.793 000.211 000.211: sourcing /usr/local/share/vim/vim74/plugin/tarPlugin.vim 111.931 000.110 000.110: sourcing /usr/local/share/vim/vim74/plugin/tohtml.vim 112.152 000.196 000.196: sourcing /usr/local/share/vim/vim74/plugin/vimballPlugin.vim 112.406 000.223 000.223: sourcing /usr/local/share/vim/vim74/plugin/zipPlugin.vim 112.567 000.025 000.025: sourcing /home/pel/.vim/after/plugin/CSApprox.vim 112.574 001.593: loading plugins 112.585 000.011: inits 3 136.649 003.457 003.457: sourcing $VIMRUNTIME/menu.vim 302.704 186.662: starting GUI 303.255 000.551: reading viminfo 307.603 004.348: GUI delay 307.918 000.315: register server name 307.924 000.006: setting raw mode 307.928 000.004: start termcap 307.989 000.061: clearing screen 308.381 000.392: opening buffers 313.949 005.364 005.364: sourcing /home/pel/.vim/plugin/taglist.vim 314.223 000.478: BufEnter autocommands 314.233 000.010: editing files in windows 317.795 003.562: VimEnter autocommands 317.800 000.005: before starting main loop 331.734 013.934: first screen update 331.737 000.003: --- VIM STARTED --- And with vim rather than gvim: $ vim startuptime.log times in msec clock self+sourced self: sourced script clock elapsed: other lines 000.005 000.005: --- VIM STARTING --- 000.101 000.096: Allocated generic buffers 000.192 000.091: locale set 000.207 000.015: GUI prepared 000.209 000.002: clipboard setup 000.215 000.006: window checked 000.667 000.452: inits 1 000.674 000.007: parsing arguments 000.675 000.001: expanding arguments 000.688 000.013: shell init 002.261 001.573: xsmp init 002.625 000.364: Termcap init 002.682 000.057: inits 2 002.924 000.242: init highlight 005.116 000.703 000.703: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 005.557 001.344 000.641: sourcing /usr/local/share/vim/vim74/syntax/synload.vim 028.520 022.789 022.789: sourcing /usr/local/share/vim/vim74/filetype.vim 028.577 024.575 000.442: sourcing /usr/local/share/vim/vim74/syntax/syntax.vim 028.647 000.011 000.011: sourcing /usr/local/share/vim/vim74/filetype.vim 028.704 000.010 000.010: sourcing /usr/local/share/vim/vim74/filetype.vim 028.790 000.043 000.043: sourcing /usr/local/share/vim/vim74/ftplugin.vim 075.805 000.225 000.225: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 076.811 000.448 000.448: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 077.638 000.443 000.443: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 079.235 003.164 002.273: sourcing /home/pel/.vim/colors/rastafari.vim 079.260 076.001 047.973: sourcing $HOME/.vimrc 079.276 000.351: sourcing vimrc file(s) 081.819 001.879 001.879: sourcing /home/pel/.vim/plugin/CSApprox.vim 082.695 000.794 000.794: sourcing /home/pel/.vim/plugin/LanguageTool.vim 082.906 000.153 000.153: sourcing /home/pel/.vim/plugin/ack.vim 083.999 000.595 000.595: sourcing /home/pel/.vim/autoload/ctrlp/mrufiles.vim 084.232 001.276 000.681: sourcing /home/pel/.vim/plugin/ctrlp.vim 084.300 000.040 000.040: sourcing /home/pel/.vim/plugin/explainpat.vim 084.331 000.009 000.009: sourcing /home/pel/.vim/plugin/faq_plugin.vim 087.393 003.044 003.044: sourcing /home/pel/.vim/plugin/fugitive.vim 088.026 000.601 000.601: sourcing /home/pel/.vim/plugin/netrwPlugin.vim 088.827 000.772 000.772: sourcing /home/pel/.vim/plugin/surround.vim 089.611 000.750 000.750: sourcing /home/pel/.vim/plugin/syntastic.vim 090.254 000.612 000.612: sourcing /home/pel/.vim/plugin/taglist.vim 091.277 000.993 000.993: sourcing /home/pel/.vim/plugin/undotree.vim 091.423 000.113 000.113: sourcing /home/pel/.vim/plugin/unicode.vim 094.743 003.221 003.221: sourcing /home/pel/.vim/plugin/vcscommand.vim 094.802 003.349 000.128: sourcing /home/pel/.vim/plugin/vcsbzr.vim 094.955 000.123 000.123: sourcing /home/pel/.vim/plugin/vcscommand.vim 095.063 000.084 000.084: sourcing /home/pel/.vim/plugin/vcscvs.vim 095.359 000.273 000.273: sourcing /home/pel/.vim/plugin/vcsgit.vim 095.674 000.287 000.287: sourcing /home/pel/.vim/plugin/vcshg.vim 095.767 000.067 000.067: sourcing /home/pel/.vim/plugin/vcssvk.vim 096.115 000.325 000.325: sourcing /home/pel/.vim/plugin/vcssvn.vim 096.412 000.089 000.089: sourcing /usr/local/share/vim/vim74/plugin/getscriptPlugin.vim 096.691 000.253 000.253: sourcing /usr/local/share/vim/vim74/plugin/gzip.vim 096.925 000.207 000.207: sourcing /usr/local/share/vim/vim74/plugin/matchparen.vim 096.975 000.022 000.022: sourcing /usr/local/share/vim/vim74/plugin/netrwPlugin.vim 097.046 000.048 000.048: sourcing /usr/local/share/vim/vim74/plugin/rrhelper.vim 097.105 000.037 000.037: sourcing /usr/local/share/vim/vim74/plugin/spellfile.vim 097.320 000.191 000.191: sourcing /usr/local/share/vim/vim74/plugin/tarPlugin.vim 097.453 000.106 000.106: sourcing /usr/local/share/vim/vim74/plugin/tohtml.vim 097.660 000.183 000.183: sourcing /usr/local/share/vim/vim74/plugin/vimballPlugin.vim 097.907 000.218 000.218: sourcing /usr/local/share/vim/vim74/plugin/zipPlugin.vim 138.470 000.074 000.074: sourcing /home/pel/.vim/autoload/csapprox/per_component.vim 138.608 000.078 000.078: sourcing /home/pel/.vim/autoload/csapprox/common.vim 139.452 000.030 000.030: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 185.408 003.055 003.055: sourcing /home/pel/.vim/autoload/csapprox.vim 201.356 000.032 000.032: sourcing /usr/local/share/vim/vim74/syntax/syncolor.vim 201.503 103.518 100.249: sourcing /home/pel/.vim/after/plugin/CSApprox.vim 201.511 001.819: loading plugins 203.446 001.935: inits 3 203.769 000.323: reading viminfo 209.989 006.220: setup clipboard 210.029 000.040: setting raw mode 210.031 000.002: start termcap 210.118 000.087: clearing screen 210.703 000.585: opening buffers 214.490 003.657 003.657: sourcing /home/pel/.vim/plugin/taglist.vim 214.616 000.256: BufEnter autocommands 214.621 000.005: editing files in windows 214.915 000.294: VimEnter autocommands 214.918 000.003: before starting main loop 228.941 014.023: first screen update 228.944 000.003: --- VIM STARTED --- >> 2) It takes a good 4-5 seconds to close the gvim window, after I >> type in ":quit". This was not experienced before. 4-5 seconds is a lot. I don't see that either. Can you try without .vimrc (or _vimrc) file and without plugins and at them back little by little until you find what causes it? >> When I ran gvim -startuptime <file>, it showed around 4 seconds on >> "starting GUI", which is apparently causing this delay. Is it possible >> to analyze/display the reasons for this delay in starting GUI? How can >> this be fixed? On Linux, try vim -X. Perhaps your $DISPLAY environment variable is incorrectly set. That can cause large delays. Check also :help slow-start Did you perhaps enable debugging when building Vim? i.e. compiled Vim with -DDEBUG. That would cause a big slow down when writing regexp debug files for example (nfa_regexp*.log which is new in Vim-7.4). Regards Dominique -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
