-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance on typing #39
Comments
Which company frontend are you using? I found that company-box is really slow while with the one that Doom Emacs configures by default it's really responsive. |
As @NathanLovato said, the company frontend being used does make a difference. Also, check to see if TabNine local deep learning completion is enabled. This is in the README known issues:
|
I'm not using company-box, just (company-pseudo-tooltip-frontend company-echo-metadata-frontend). Without deep learning, tabnine loses a lot of potencial. WIth vscode and nvim, works fine with deep learning, the lags is when typing. With LSP (like solargraph), dabbrev, robe, etc, it not occurs. I'm also using gccemacs, but tested on emacs 27 too, same thing. |
Is there any reason not to implement async with company-tabnine? |
Using company tabnine, the typing feels very laggy, the letters take some time to appears, don't feel smooth like others backends (like LSP or dabbrev).
Using on neovim-qt or vscode ( installed only for test propose, dont judge me hahah ) the type feels smooth (the time between the key press and the lettter show and editor feels like 0ms ).
I dont know how to do it, but maybe change it to something more async.
Edit:
My PC is OK, i7 8gen, 16 ram, ssd nvme 2
The text was updated successfully, but these errors were encountered: