3 avatar="http://cdn.libravatar.org/avatar/f881df265a423e4f24eff27c623148fd"
4 subject="v7 v v8 comparison"
5 date="2021-09-23T06:29:30Z"
7 > I'm still curious if there's an older version of git-annex that was faster (after it stopped using direct mode in v7). If I've understood correctly, you don't seem to be saying that there is.
9 Here is some data that seems to support this view.
11 I dug up another windows box on the higher performance end
13 - windows 11 (not 10!) build 10.0.22000
14 - intel 6-core xeon E-2136 @ 3.3ghz
19 - git 2.32.0.windows.2
21 I am reporting two values each, the first for git annex 8.20210715-g7334893d4 and the second for 7.20191107-g8ea269ef7 (the oldest windows build that I could find). Consequently, the first measurement is for a v8 repo, the second for a v7 repo (but no direct mode).
25 - git init: 0.1s / 0.1s
26 - git annex init: 3.2s / 3.2s
28 after creating a 3-byte text file:
30 - git add file: 1.0s / 0.9s
31 - git commit file -m msg: 1.8s / 1.8s
33 after creating two new 3-byte test files:
35 - git add .: 1.9s / 1.7s
36 - git commit -m msg: 0.9s / 0.9s
38 (NB: the `add` increase is caused by unique keys, adding a bunch of identical files is the same as adding one file)
40 after creating eight more 3-byte text files:
42 - git add .: 6.5s / 6.8s
43 - git commit -m msg: 0.9s / 0.9s
45 now adding a 280 MB binary file
47 - git add binfiile: 9.8s / 9.9s
48 - git commit -m msg: 1.2s / 1.2s
52 - git commit --amend -m msg: 1.2s / 1.2s
57 So there is pretty much no change, and in particular no change attributable to the last ~2 years of git-annex evolution.
59 However, what remains is that a substantially more capable windows workstation (internal NVMe, faster CPU) comes nowhere near the performance of my 6 year old Debian laptop with an external USB3 drive -- despite having to go through the same smudge filter complications.
61 I would be grateful, if you could have a look at the windows implementation of `smudge --clean`. Please let me know what kind of contribution could help to push such an effort. Thanks!