lambdalisue / lambdalisue/vim-pyenv

very slow start time?

Open
#26 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
107
Forks
5
PR merge metrics
No merged PRs in 30d

Description


+ 178 533.658  000.209  000.209: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/pyenv.vim
+ 179 534.944  000.042  000.042: sourcing /home/dmitry/.vim/bundle/vim-easymotion/autoload/vital.vim
+ 180 537.230  000.591  000.591: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/vital/_vim_pyenv.vim
+ 181 540.863  006.266  005.633: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/pyenv/utils.vim                  
+ 182 546.029  000.381  000.381: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/vital/_vim_pyenv/Process.vim
+ 183 551.353  000.449  000.449: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/vital/_vim_pyenv/System/Filepath.
+ 184 555.364  021.249  014.153: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/pyenv/pyenv.vim
+ 185 561.908  005.842  005.842: sourcing /home/dmitry/.vim/bundle/vim-pyenv/autoload/pyenv/python.vim
+ 186 1363.001  001.016  001.016: sourcing /home/dmitry/.vim/bundle/vim-gutentags/autoload/gutentags.vim

so 533 > 1363 almost a second. It makes switching to vim (from ipython session with F2 for example) very very slow

ANy ideas?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Vim startup profile in the issue and inspect the listed vim-pyenv entry points, especially autoload/pyenv/pyenv.vim and autoload/pyenv/python.vim. Compare their sourcing times with autoload/gutentags/autoload/gutentags.vim and determine which startup step accounts for the delay. Done means the slow source is identified and a focused fix or documented explanation is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.