-
Notifications
You must be signed in to change notification settings - Fork 534
Performance degradation #203
Comments
@icambridge Thank you for the report!
|
|
I've finally got round to adding profiling to the process. These were taken while i had 15 goroutines all taking a while in the fetch files method. isostat output
|
@icambridge We recently merged #218 which makes full packfile decoding (e.g. clones) both faster and with less allocations. We're planning further improvements on this front for other use cases. |
Thanks, I was going to mention I've built the with latest master and performance difference is 100% improvement. |
Ok. I'm closing this as fixed. |
@smola There still appears to be degrading performance, as in it slows down over time. I'm solving this myself by constantly restarting the process every 30 minutes. |
Uh oh!
There was an error while loading. Please reload this page.
So if I have a long running process I end up with what I would consider serious performance degradation. The following code when the process originally starts takes ms however as the process goes on the takes longer and longer no matter the size of the repository. I've seen it literally taking 10s of minutes on really small git repositories.
Also may as well use this issue for the memory performance issues with this library and commits as can be seen on https://github.com/icambridge/go-git-example with
symfony/symfony
taking up a GB of RAM just to get the commits.Overall I have a 8 core 16GB server processing 140 repositories an hour running out of memory.
The text was updated successfully, but these errors were encountered: