This commit is contained in:
parent
68549767e9
commit
e6ca4cd0df
1 changed files with 7 additions and 0 deletions
7
doc/todo/speed_up_git_annex_sync_--content_--all.mdwn
Normal file
7
doc/todo/speed_up_git_annex_sync_--content_--all.mdwn
Normal file
|
@ -0,0 +1,7 @@
|
|||
Hello Joeyh,
|
||||
Overall the performance of git-annex is good for me. However, one case where git-annex could improve is with "git annex sync --content --all", as it takes 20 minutes just to traverse all keys without uploading/downloading anything in my repo. I've looked at the code (learnig some haskell along the way) and I think it's due to getting the location logs via git cat-file. I see two ways how performance could be improved:
|
||||
|
||||
1. Use "git cat-file --batch-all-objects --unordered" and traverse the keys in whatever order that outputs the location logs.
|
||||
2. Cache the location logs in the sqlite database
|
||||
|
||||
Other than that, git-annex has really solved all my file syncing and archival needs and is just awesome!
|
Loading…
Add table
Add a link
Reference in a new issue