]> dgit.raspbian.org Git - git-annex.git/blob
32eb08e11320c6549a0b8072cf383f36aa8c8bec
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 33"""
4  date="2021-06-15T13:01:04Z"
5  content="""
6 Oh, there's a much better solution: If the annex object file already exists
7 when ingesting a new file, skip populating other associated files. They
8 will have already been populated. moveAnnex has to check if the annex object
9 file already exists anyway, so this will have zero overhead.
10
11 (Maybe that's what yarik was getting at in comment #30)
12
13 Implemented that, and here's the results, re-running my prior benchmark:
14
15 run 1: 0:03.14
16 run 2: 0:03.24
17 run 3: 0.03.35
18 run 4: 0.03.45
19 run 9: 0:03.65
20
21 That also shows the actual overhead of the diffing of the index,
22 as its size grows, is quite small.
23 """]]