Skip to content

High levels of lag when git_status is enabled #616

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

Open
A-Lamia opened this issue Nov 18, 2022 · 2 comments
Open

High levels of lag when git_status is enabled #616

A-Lamia opened this issue Nov 18, 2022 · 2 comments
Labels
bug Something isn't working performance question Further information is requested

Comments

@A-Lamia
Copy link

A-Lamia commented Nov 18, 2022

Not sure exactly why but in some project files neo-tree has very high cpu usage around 5-6% and is causing a lot of lag, the only real difference i can tell with one that lags from ones that don't is a lot of unstaged files, about 20 ?

OS:
Windows 10

nvim:
v0.8.1

git:
2.38.1.windows.1

Log:
neo-tree.nvim.log

Original Post:
AstroNvim/AstroNvim#1345

Possibly Related Issue:
#609

Video

out.mp4
@cseickel
Copy link
Contributor

It seems like Windows often has weird performance issues, especially with git operations. There is an update to the file scanning system in main right now to make it more asynchronous, and there is a PR to do the same for checking git ignored files: #621

It's possible those fixes could solve your problem when they are released.

@cseickel cseickel added bug Something isn't working performance labels Nov 26, 2022
@pysan3 pysan3 added the question Further information is requested label Jun 25, 2023
@kapral18
Copy link

git_status is absurdly slow. If I open a file and then I go into another file within node_modules with reveal_file and toggle neo-tree panel there it opens 10x slower. But the worst part is when I come back into the previous file outside of node_modules now that file is also 10x slower when toggling the panel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working performance question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants