Replies: 1 comment
-
Thanks so much for reporting - I'd really appreciate an issue for this.
Also, after the integration with If you choose to create an issue, there I would ask if you have a way to do an instrumented run to see what exactly is slow. I suspect that an Since I hope that helps. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Given a commit sha, I need to get the committer and author name and email. Access the content of a bunch of files and get the list of files touched between a ref and this commit.
I recently replaced my git subprocesses calls with gitoxide in a pretty large repo and unfortunately, the performance is pretty bad. I've gathered an estimate of the times here:
ThreadSafeRepository::open()
followed by 20ms forrepo.find_commit(repo.rev_parse_single(rev)?.detach())?
I tried accessing the metadata using
gix cat
and the perf is consistent with what I see in my app (~200ms).I'd like to be able to approach the performance I see with the subprocess. I suspect gix loads a lot more from the repo when it is opened that is strictly required to get the info I need vs git that dereferences a few things only.
Is my assessment correct? Is there a way to access info in a repo in a more lazy way? Is there anything you recommend in my case? Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions