codota / tabnine-vim

Vim client for TabNine. https://vimawesome.com/plugin/tabnine-vim
https://www.tabnine.com/install/vim
GNU General Public License v3.0
669 stars 36 forks source link

Slow on installation or upgrade #99

Closed XuehaiPan closed 1 year ago

XuehaiPan commented 2 years ago

please complete the following information:

Issue Details:

In this repo, we add binaries for Tabnine Engines into Git histories. This makes the Git repo extremely large and takes too long to install or upgrade. The .git folder grows as we update the binary files.

In the screenshot below:

Screenshot-tabnine

It takes 198 seconds to get a full clone (requires 1018M disk space) or 53 seconds to get a fresh shallow clone (requires 506M disk space). Using vim-plug, sometimes, it takes more than 5 minutes to upgrade Tabnine on a shallow clone.

I think we should provide a separate method to install the binaries rather than put the binaries to Git histories.

bilucodota commented 2 years ago

Hi @XuehaiPan Thanks for reaching out! Check out our new ycm fork Which does not bundle Tabnine binaries:

https://github.com/tabnine/YouCompleteMe

Your feedback is highly appreciated.