Skip to content
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 for large repos #62

Open
carlthome opened this issue May 31, 2024 · 2 comments · May be fixed by #76
Open

Improve performance for large repos #62

carlthome opened this issue May 31, 2024 · 2 comments · May be fixed by #76
Labels
enhancement New feature or request

Comments

@carlthome
Copy link
Owner

Noticed in nixpkgs that how git is called on each line leads to heavy CPU usage on a MacBook M1 Air. Should fix that.

@carlthome carlthome added the enhancement New feature or request label May 31, 2024
@carlthome
Copy link
Owner Author

--until 1.day

might be helpful but need to double-check that it behaves as intended.

@mishraprafful
Copy link
Collaborator

Another apporach could be to do a git blame and when a file is opened by the user, and then store it on memory, and just fetch the blame from this file when the cursor is on a line, this might make the IO less, but memory usage more.

But I think this is worth considering and trying out.

@mishraprafful mishraprafful linked a pull request Jul 9, 2024 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants