Coder Social home page Coder Social logo

Comments (2)

ervandew avatar ervandew commented on August 24, 2024

Done.

Out of curiosity, does tplugin's lazy loading actually improve startup time for you? I have a fair number of plugins in my rtp (eclim, all my other plugins, + a few others), and I've never noticed any slowdown when opening vim:

$ vim --startuptime /dev/stdout +qall

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

000.011  000.011: --- VIM STARTING ---
000.207  000.196: Allocated generic buffers
000.371  000.164: locale set
000.402  000.031: GUI prepared
000.406  000.004: clipboard setup
000.418  000.012: window checked
001.265  000.847: inits 1
001.280  000.015: parsing arguments
001.281  000.001: expanding arguments
001.304  000.023: shell init
001.825  000.521: Termcap init
001.911  000.086: inits 2
002.196  000.285: init highlight
002.686  000.237  000.237: sourcing /usr/share/vim/vimfiles/archlinux.vim
002.749  000.476  000.239: sourcing /etc/vimrc
...
093.843  091.020  001.729: sourcing $HOME/.vimrc
093.847  000.155: sourcing vimrc file(s)
...
144.109  001.862: loading plugins
144.956  000.847: inits 3
145.210  000.254: reading viminfo
147.231  002.021: setup clipboard
147.255  000.024: setting raw mode
147.263  000.008: start termcap
147.303  000.040: clearing screen
148.737  001.104: opening buffers
149.110  000.373: BufEnter autocommands
149.114  000.004: editing files in windows
149.205  000.091: VimEnter autocommands
149.208  000.003: before starting main loop
150.172  000.964: first screen update
150.175  000.003: --- VIM STARTED ---

from ag.

blueyed avatar blueyed commented on August 24, 2024

Out of curiosity, does tplugin's lazy loading actually improve startup time for you?

Yes.
I am currently using NeoBundle though, which has a less sophisticated method of autoloading (it does not setup command wrappers by default etc). Therefore I am experimenting currently with combining tplugin (its TPluginScan mechanism) and NeoBundle.
I have a larger set of plugins probably though.

from ag.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.