Open mplanchard opened 1 month ago
Hello @mplanchard,
I am totally agree with you that diffs table should be faster and this can fixed using many ways
But now i am thinking to work step by step to get more optimisation an cover more features in general then moving to optimize specific cases.
But after those features i think we can get the ability to perform more customisable and faster queries
Thank you, Amr
Describe the bug
Queries on diffs for even moderately large repositories are incredibly slow. Our repository at work has ~5,500 commits.
The following operation to get the diff with the most deletions took ~30 minutes:
During the entire time, a single thread was pretty much pegged. I can get this same result using git and awk in a fraction (1/270th, 0.37%) of the time:
Queries on
commits
seem to run in a more reasonable amount of time, e.g.:To Reproduce
Expected behavior Speed is at least within an order of magnitude of git/awk
GQL (please complete the following information): GitQL version 0.28.0
Additional context Add any other context about the problem here.