Giter Site home page Giter Site logo

Comments (13)

mhinz avatar mhinz commented on May 24, 2024

1 0.132605 0.000119 GitGutter()?

Do you have Sy + vim-gitgutter installed? Don't do that, they probably interfere with another.

Also, make sure to set g:signify_vcs_list, otherwise all VCS will be tested for at startup.

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

I have no idea, where GitGutter came from. I do not remember installing it. Works perfectly now. Sorry, my mistake.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Oh, haha. This was easy to fix. :-)

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

Sorry, without gitgutter it is just slightly faster:

FUNCTIONS SORTED ON TOTAL TIME
count total (s) self (s) function
1 1.858195 0.000241 sy#start()
1 1.857774 0.000878 sy#repo#detect()
2 0.392393 0.000074 tagbar#currenttag()
2 0.392240 0.000155 157_Init()
3 0.325147 0.000795 157_ExecuteCtags()
1 0.253438 0.000308 sy#repo#get_diff_accurev()
1 0.233033 0.000219 sy#repo#get_diff_rcs()
1 0.223045 0.000287 sy#repo#get_diff_fossil()
1 0.222368 0.000210 sy#repo#get_diff_bzr()
1 0.212908 0.000172 sy#repo#get_diff_darcs()
1 0.198851 0.000219 157_AutoUpdate()
1 0.198460 0.009681 157_ProcessFile()
1 0.182607 0.000270 sy#repo#get_diff_hg()
1 0.144615 0.002030 157_ExecuteCtagsOnFile()
1 0.132477 0.000224 sy#repo#get_diff_cvs()
1 0.132443 0.000292 sy#repo#get_diff_perforce()
1 0.132398 0.000263 sy#repo#get_diff_svn()
1 0.132179 0.000421 sy#repo#get_diff_git()

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

It doesn't seem that you have set g:signify_vcs_list yet. See :help signify-options.

Do you still have an unusual long delay afterwards?

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

Thank you Markus! That was it. If it can cause such dramatic speed downs, wouldn't it be preferable to add a default setting for the VCS list?

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

What would be a sane default? I can't reason about what people use.

Also, I want people to read the documentation, since it's full of gems!

Oh, and it's "Marco". :-)

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

Am 20.08.2013 15:07, schrieb Marco Hinz:

What would be a sane default? I can't reason about what people use.

Also, I want people to read the documentation, since it's full of gems. ;)


Reply to this email directly or view it on GitHub
#57 (comment).

My .vimrc was not under version control and simply loading it (or any
other file) took 2 seconds without a VCS list. Now I added svn, git, hg
to the VCS list and it loads much faster. So I would suggest to add all
the available version controls as default and allow users to overwrite
this setting when desired.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

So I would suggest to add all the available version controls as default and allow users to overwrite this setting when desired.

That's how it works at the moment. And if there was anything I'd change, I'd disable every VCS by default to force people to set the VCS list to a value fitting their kind of work.

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

Am 20.08.2013 15:21, schrieb Marco Hinz:

So I would suggest to add all the available version controls as
default and allow users to overwrite this setting when desired.

That's how it works at the moment.


Reply to this email directly or view it on GitHub
#57 (comment).

Well, if it is set by deafult, why does adding it to the .vimrc lead to
such an performance improvement?

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

The list contains all supported VCS by default. That makes a list of 10 VCS at the moment, the last being perforce. Now, if you open a buffer from a Perforce repo, 9 other repos will be checked first.

That's why you should set g:signify_vcs_list to only these VCS you usally use.

from vim-signify.

florian-wagner avatar florian-wagner commented on May 24, 2024

Am 20.08.2013 16:50, schrieb Marco Hinz:

The list contains all supported VCS by default. That makes a list of
10 VCS at the moment, the last being |perforce|. Now, if you open a
buffer from a Perforce repo, 9 other repos will be checked first.


Reply to this email directly or view it on GitHub
#57 (comment).

This makes sense. I just didn't know that there are that much =).
Reading the docs in more detail helped as well. Thank you for your
patience! It's a great plugin.

from vim-signify.

mhinz avatar mhinz commented on May 24, 2024

Hah, I'm glad to hear that and thanks for your feedback. :)

from vim-signify.

Related Issues (20)

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.